setTTL method

void setTTL(
  1. int ttl
)

Sets the TTL (Time To Live) for outgoing packets. (Not implemented)

Implementation

void setTTL(int ttl) {
  if (_closing) throw StateError('Socket is closing');
  // This would need to be handled by the multiplexer's RawDatagramSocket
}