Returns the remote address and port number of a given socket stream.
comm
socket-stream-peer-address stream => address, port
| stream⇩ |
| address⇩ |
A integer, ipv6-address or nil. |
| port⇩ |
An integer or nil. |
Connected socket streams have two addresses, local and remote. The function socket-stream-peer-address returns the remote address.
address is the remote host address of stream or nil if not connected.
port is the remote port number of stream or nil if not connected.
socket-stream-address
get-socket-peer-address
25 TCP and UDP socket communication and SSL
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:26