Session.localAddress

Get localAddress property.

class Session
@property
localAddress
()

Return Value

Type: gio.inet_socket_address.InetSocketAddress

Sets the gio.inet_socket_address.InetSocketAddress to use for the client side of the connection.

Use this property if you want for instance to bind the local socket to a specific IP address.