Next Prev Up Top Contents Index

socket-stream-address

Function
Summary

Returns the local address and port number of a given socket stream.

Package

comm

Signature

socket-stream-address stream => address, port

Arguments

stream

A socket stream.

Values

address

The local host address of the socket stream or nil if not connected.

port

The local port number of the socket stream or nil if not connected.

Description

Connected socket streams have two addresses, local and remote. The socket-stream-address function returns the local address.

See also

socket-stream-peer-address
get-socket-address


LispWorks Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index