Method

GioSocketset_multicast_ttl

since: 2.32

Declaration

void
g_socket_set_multicast_ttl (
  GSocket* socket,
  guint ttl
)

Description

Sets the time-to-live for outgoing multicast datagrams on socket. By default, this is 1, meaning that multicast packets will not leave the local network.

Available since: 2.32

Parameters

ttl

Type: guint

The time-to-live value for all multicast datagrams on socket.