get_socket


Description:

public unowned 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 Socket or null on error.