joinMulticast method Null safety

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]);