Method

GioSocketset_ttl

since: 2.32

Declaration [src]

void
g_socket_set_ttl (
  GSocket* socket,
  guint ttl
)

Description [src]

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.