Mono Class Library: System.Net.Sockets.MulticastOption Overview | Members

System.Net.Sockets.MulticastOption Constructor

Constructs and initializes a new instance of the System.Net.Sockets.MulticastOption class with the specified IP multicast group address. [Edit]

public MulticastOption (System.Net.IPAddress grp)

Parameters

grp
An instance of System.Net.IPAddress containing the IP address of a multicast group. [Edit]

Exceptions

TypeReason
ArgumentNullExceptiongroup is null. [Edit]

Remarks

This constructor initializes the MulticastOption.Group property of the new instance using group. The MulticastOption.LocalAddress property is initialized to System.Net.IPAddress.Any. Any allows the protocol to decide which local IP address to use. [Edit]

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0