Gio.Socket.prototype.set_ttl
function set_ttl(ttl: Number(guint)): void { // Gjs wrapper for g_socket_set_ttl() }
Sets the time-to-live for outgoing unicast packets on socket. By default the platform-specific default value is used.
Since 2.32
- ttl
the time-to-live value for all unicast packets on socket