MulticastOption Constructor (IPAddress^, Int32)

 

Initializes a new instance of the MulticastOption class with the specified IP multicast group address and interface index.

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

public:
MulticastOption(
	IPAddress^ group,
	int interfaceIndex
)

Parameters

group
Type: System.Net::IPAddress^

The IPAddress of the multicast group.

interfaceIndex
Type: System::Int32

The index of the interface that is used to send and receive multicast packets.

.NET Framework
Available since 2.0
Return to top
Show: