GetSocketAddress.local

Obtains the local address associated with conduit from getsockname(). conduit must have been downcasted from Socket.

class GetSocketAddress
local

Parameters

conduit ISelectable

socked conduit

Return Value

Type: Address

the local address associated with conduit.

Throws

SocketAddressException if getpeername() reports an error.

Meta