All Manuals > LispWorks® User Guide and Reference Manual > 34 The DBG Package

remote-debugging-connection-peer-address Function

Summary

Return the address of the other side of a remote debugging connection.

Package

dbg

Signature

remote-debugging-connection-peer-address connection => remote-host, remote-port

Arguments
connection
Values
remote-host
A string.
remote-port
An integer.
Description

The function remote-debugging-connection-peer-address returns the "peer address" of connection.

Normally debugging connections are implemented over socket streams, so remote-host and remote-port are the results of calling socket-stream-peer-address on the underlying stream.

remote-debugging-connection-peer-address is implemented by calling remote-debugging-stream-peer-address on the stream of the connection, which has a the method specialized on socket-stream that calls socket-stream-peer-address.

If connection does not use a socket stream (for example, if it was created by create-ide-remote-debugging-connection or create-client-remote-debugging-connection with a stream that is not a socket-stream), then remote-host and remote-port will both be nil unless you define a method on remote-debugging-stream-peer-address for the stream. That will not affect the behavior of the connection otherwise.

remote-debugging-connection-peer-address may be called on either side (IDE or client).

See also

remote-debugging-stream-peer-address
3.7 Remote debugging


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:32