All Manuals > LispWorks User Guide and Reference Manual > 32 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 function socket-stream-peer-address returns the remote address.

See also

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


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex