Method

GioSocketget_ttl

since: 2.32

Declaration

guint
g_socket_get_ttl (
  GSocket* socket
)

Description

Gets the unicast time-to-live setting on socket; see g_socket_set_ttl() for more details.

Available since: 2.32

Gets propertyGio.Socket:ttl

Return value

Type: guint

The time-to-live setting on socket.