getLocalAddress

open fun getLocalAddress(): <Error class: unknown class><SocketAddress>

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.

Return

a #GSocketAddress or null on error. Free the returned object with g_object_unref().

Since

2.22