get_remote_address
Description:
Try to get the remote address of a socket connection.
Since GLib 2.40, when used with connect or connect_async, during emission of g_socket_client_connecting, this function will return the remote address that will be used for the connection. This allows applications to print e.g. "Connecting to example.com (10.42.77.3)...".
Parameters:
this |
Returns:
a SocketAddress or null on error. Free the returned object with unref. |