A client receiver for multicast traffic from a single source, also known as Source Specific Multicast (SSM).
Assembly: System.Net (in System.Net.dll)
Thetype exposes the following members.
|BeginJoinGroup||Binds the socket and begins a join operation to the multicast group to allow datagrams to be received from a single source address.|
|BeginReceiveFromSource||Begins the operation of receiving a packet from the joined multicast group and invokes the specified callback when a packet has arrived on the group from a specified sender.|
|BeginSendToSource||Begins the operation of sending a unicast packet to the source previously specified.|
|Dispose||Leaves the multicast group and releases all resources used by the current instance of the class and the underlying Socket.|
|EndJoinGroup||Completes the asynchronous join group operation to a multicast group.|
|EndReceiveFromSource||Completes the asynchronous operation of receiving a packet from the joined multicast group and provides the information received from a specified sender.|
|EndSendToSource||Completes the operation of sending a unicast packet to a single source.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Releases the resources held by the current UdpAnySourceMulticastClient class. (Overrides Object.Finalize.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The multicast group address and sender source address must be known.
In addition to receiving multicast data from a specific sender, the client can also send unicast data back to the sender.
To receive multicast from multiple sources, or when the sources aren't known in advance, use the UdpAnySourceMulticastClient class instead.