SocketConnection.getSocket

gio.socket.Socket getSocket()

Gets the underlying #GSocket object of the connection. This can be useful if you want to do something unusual on it not supported by the #GSocketConnection APIs.

Returns

a #GSocket or null on error.