Try to get the remote address of a connected socket. This is only useful for connection oriented sockets that have been connected.
Available since: 2.22
NULL on error.
Free the returned object with g_object_unref().
|The caller of the method takes ownership of the returned data, and is responsible for freeing it.|