get_remote_address


Description:

public SocketAddress get_remote_address () throws Error

Try to get the remove address of a connected socket.

This is only useful for connection oriented sockets that have been connected.

Parameters:

this

a Socket.

Returns:

a SocketAddress or null on error. Free the returned object with unref.