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

NextPrevUpTopContentsIndex

async-io-state-peer-address

Function
Summary

Returns the local address and port number for an async-io-state state that has a connected socket.

Package

comm

Signature

async-io-state-peer-address async-io-state => address, port

Arguments

async-io-state

An async-io-state.

Values

address

An integer, an ipv6-address or nil.

port

An integer or nil.

Description

The function async-io-state-peer-address returns the remote address and port number for async-io-state if it has a socket which is connected.

address is the remote host address of the socket in the state.

port is the remote port number of the socket in the state.

For an unconnected socket both address and port are nil.

See also

async-io-state-address
get-socket-peer-address
The Async-I/O-State API


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex