joinMulticast method

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

Joins a multicast group.

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

Implementation

@override
void joinMulticast(InternetAddress group, [NetworkInterface? interface]) => socket.joinMulticast(group, interface);