LispWorks User Guide and Reference Manual > 26 The COMM Package

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 User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex