Advanced: Return the peer address of a remote debugging stream.
dbg
remote-debugging-stream-peer-address stream => remote-host, remote-port
remote-debugging-stream-peer-address (stream t)
remote-debugging-stream-peer-address (stream socket-stream)
stream⇩ |
A stream. |
remote-host⇩ |
A string. |
remote-port⇩ |
An integer. |
The generic function remote-debugging-stream-peer-address
returns the "peer address" of stream as two values:
The hostname of the remote host. | |
The port number on the remote host. |
remote-debugging-stream-peer-address
is called by remote-debugging-connection-peer-address with the stream that its connection uses to communicate with the other side. It is intended to allow you to implement remote debugging with other types of stream by calling create-client-remote-debugging-connection and create-ide-remote-debugging-connection. In typical usage you do not need to define a method on remote-debugging-stream-peer-address
.
The method specialized on t
returns nil
and nil
.
The method specialized on socket-stream returns the peer hostname and port using socket-stream-peer-address.
remote-debugging-stream-peer-address
may be called on either side (IDE or client).
remote-debugging-connection-peer-address
3.7 Remote debugging
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:32