Socket.getRemoteAddress

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

class Socket
getRemoteAddress
()

Return Value

a GSocketAddress or NULL on error. Free the returned object with g_object_unref(). [transfer full]

Throws

GException on failure.

Meta