W3cubDocs

/Dart 2

multicastHops property

int multicastHops
read / write

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 multicastHops

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/RawDatagramSocket/multicastHops.html