getRemoteAddress

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

Try to get the remote address of a connected socket. This is only useful for connection oriented sockets that have been connected.

Return

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

Since

2.22