get_remote_address


Description:

public unowned SocketAddress? get_remote_address ()

Get the remote [class@Gio.

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 [[email protected]]. If [ property@Session:remote-connectable] is set the returned address id for the connection to the session's remote connectable.

Parameters:

this

The Message

Returns:

a SocketAddress or null if the connection hasn't been established




2022 vala-language.org