GetSocketAddress.remote

Obtains the remote address associated with conduit from getpeername(). conduit must have been downcasted from Socket.

class GetSocketAddress
remote

Parameters

conduit ISelectable

socked conduit

Return Value

Type: Address

the remote address associated with conduit.

Throws

SocketAddressException if getpeername() reports an error.

Meta