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

remote-debugging-stream-peer-address Generic Function

Summary

Advanced: Return the peer address of a remote debugging stream.

Package

dbg

Signature

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

Method signatures

remote-debugging-stream-peer-address (stream t)

remote-debugging-stream-peer-address (stream socket-stream)

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

The generic function remote-debugging-stream-peer-address returns the "peer address" of stream as two values:

remote-host
The hostname of the remote host.
remote-port
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).

See also

remote-debugging-connection-peer-address
3.7 Remote debugging


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