get-socket-peer-address
Summary
Returns the remote address and port number of a given socket.
Signature
get-socket-peer-address socket => address, port
Arguments
socket
A socket handle.
Values
address
The remote host address of the socket or nil
if not connected.
port
The remote port number of the socket or nil
if not connected.
Description
The function get-socket-peer-address
returns the remote address of a connected socket.
Notes
Connected sockets have two addresses, local and remote.
LispWorks User Guide and Reference Manual - 13 Feb 2015