MulticastOption Constructor (IPAddress^)

 

Initializes a new version of the MulticastOption class for the specified IP multicast group.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public:
MulticastOption(
	IPAddress^ group
)

Parameters

group
Type: System.Net::IPAddress^

The IPAddress of the multicast group.

Exception Condition
ArgumentNullException

group is null.

For machines with multiple network cards, do not use this constructor. Use the constructor that takes a group and a local IP address.

.NET Framework
Available since 1.1
Return to top
Show: