Socket.getRemoteAddress

Try to get the remove 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().

class Socket
getRemoteAddress
()

Throws

GException on failure.

Meta

Since

2.22