get_socket


Description:

public weak Socket get_socket ()

Gets the underlying Socket object of the connection.

This can be useful if you want to do something unusual on it not supported by the SocketConnection APIs.

Parameters:

this

a SocketConnection

Returns:

a SocketAddress or null on error.