Method

GioSocketset_ttl

since: 2.32

Declaration

void
g_socket_set_ttl (
  GSocket* socket,
  guint ttl
)

Description

Sets the time-to-live for outgoing unicast packets on socket. By default the platform-specific default value is used.

Available since: 2.32

Sets propertyGio.Socket:ttl

Parameters

ttl

Type: guint

The time-to-live value for all unicast packets on socket.