NextPrevUpTopContentsIndex

get-socket-address

Function
Summary

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

Package

comm

Signature

get-socket-address socket => address, port

Arguments

socket

A socket handle.

Values

address

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

port

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

Description

Connected sockets have two addresses, local and remote. The get-socket-address function returns the local address.

See also

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


LispWorks Reference Manual - 6 Apr 2005

NextPrevUpTopContentsIndex