O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

MulticastOption

Synopsis

This class specifies an IP address for IP-multicast packets. IP-multicast addresses must be in the range of 224.0.0.0 to 239.255.255.255. The MulticastOption is set on a socket using the SocketOptionName.AddMembership value with Socket.SetSocketOption(). You can drop multicast with SocketOptionName.DropMembership.

public class MulticastOption {
// Public Constructors
   public method MulticastOption(System.Net.IPAddress group);  
   public method MulticastOption(System.Net.IPAddress group, 
        System.Net.IPAddress mcint);  
// Public Instance Properties
   public field IPAddress Group{set; get; } 
   public field IPAddress LocalAddress{set; get; } 
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required