SocketConnection.getLocalAddress

Try to get the local address of a socket connection.

Returns

a #GSocketAddress or null on error.

Free the returned object with [gobject.object.ObjectWrap.unref].

Throws

[ErrorWrap]