NextPrevUpTopContentsIndex

socket-stream-peer-address

Function
Summary

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

Package

comm

Signature

socket-stream-peer-address stream => address, port

Arguments

stream

A socket stream.

Values

address

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

port

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

Description

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

See also

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


LispWorks Reference Manual - 23 Jul 2004

NextPrevUpTopContentsIndex