Socket.getTtl

uint getTtl()

Gets the unicast time-to-live setting on socket; see [gio.socket.Socket.setTtl] for more details.

Returns

the time-to-live setting on socket