All Manuals > LispWorks User Guide and Reference Manual > 32 The COMM Package

NextPrevUpTopContentsIndex

socket-stream-address

Function
Summary

Returns the local address and port number of a given socket stream.

Package

comm

Signature

socket-stream-address stream => address, port

Arguments

stream

A socket stream.

Values

address

The local host address of the socket stream or nil if not connected.

port

The local port number of the socket stream or nil if not connected.

Description

The function socket-stream-address returns the local address of a connected socket.

Notes

Connected socket streams have two addresses, local and remote,

See also

socket-stream-peer-address
get-socket-address


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex