multicastHops property Null safety

int multicastHops

Set or get, the maximum network hops for multicast packages originating from this socket.

For IPv4 this is referred to as TTL (time to live).

By default this value is 1 causing multicast traffic to stay on the local network.

Implementation

int get multicastHops;
void multicastHops= (int value)

Implementation

void set multicastHops(int value);