get_local_address


Description:

public SocketAddress get_local_address () throws Error

Try to get the local address of a bound socket.

This is only useful if the socket has been bound to a local address, either explicitly or implicitly when connecting.

Parameters:

this

a Socket.

Returns:

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