Message.getRemoteAddress

Get the remote gio.socket_address.SocketAddress of the connection associated with the message.

The returned address can be null if the connection hasn't been established yet, or the resource was loaded from the disk cache. In case of proxy connections, the remote address returned is a gio.proxy_address.ProxyAddress. If propertySession:remote-connectable is set the returned address id for the connection to the session's remote connectable.

class Message
getRemoteAddress
()

Return Value

Type: gio.socket_address.SocketAddress

a #GSocketAddress or null if the connection hasn't been established