dart / 2 / dart-io / rawdatagramsocket / joinmulticast.html

joinMulticast method

void joinMulticast(
  1. InternetAddress group,
  2. [NetworkInterface? interface]
)

Joins a multicast group.

If an error occur when trying to join the multicast group, an exception is thrown.

Implementation

void joinMulticast(InternetAddress group, [NetworkInterface? interface]);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/RawDatagramSocket/joinMulticast.html