Method

GioSocketClientget_local_address

since: 2.22

Declaration [src]

GSocketAddress*
g_socket_client_get_local_address (
  GSocketClient* client
)

Description [src]

Gets the local address of the socket client.

See g_socket_client_set_local_address() for details.

Available since: 2.22

Return value

Type: GSocketAddress

A GSocketAddress or NULL. Do not free.

The returned data is owned by the instance.
The return value can be NULL.