leaveMulticast method - RawDatagramSocket class - dart:io library (original) (raw)

description

leaveMulticast abstract method

void leaveMulticast(

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

Leaves a multicast group.

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

Implementation

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