UdpSingleSourceMulticastClient Class

UdpSingleSourceMulticastClient Class

.NET Framework (current version)
 
Note: This API is now obsolete.

A client receiver for multicast traffic from a single source, also known as Source Specific Multicast (SSM).

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

System.Object
  System.Net.Sockets.UdpSingleSourceMulticastClient

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
	true)]
public class UdpSingleSourceMulticastClient : IDisposable

NameDescription
System_CAPS_pubmethodUdpSingleSourceMulticastClient(IPAddress, IPAddress, Int32)

Obsolete.Creates a new UdpSingleSourceMulticastClient UDP client that can subscribe to a group address and receive datagrams from a single source.

NameDescription
System_CAPS_pubpropertyReceiveBufferSize

Obsolete.Gets or sets the size, in bytes, of the receive buffer of the Socket used for multicast receive operations on this UdpSingleSourceMulticastClient instance.

System_CAPS_pubpropertySendBufferSize

Obsolete.Gets or sets the size, in bytes, of the send buffer of the Socket used for multicast send operations on this UdpSingleSourceMulticastClient instance.

NameDescription
System_CAPS_pubmethodBeginJoinGroup(AsyncCallback, Object)

Obsolete.Binds the socket and begins a join operation to the multicast group to allow datagrams to be received from a single source address.

System_CAPS_pubmethodBeginReceiveFromSource(Byte[], Int32, Int32, AsyncCallback, Object)

Obsolete.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.

System_CAPS_pubmethodBeginSendToSource(Byte[], Int32, Int32, Int32, AsyncCallback, Object)

Obsolete.Begins the operation of sending a unicast packet to the source previously specified.

System_CAPS_pubmethodDispose()

Obsolete.Leaves the multicast group and releases all resources used by the current instance of the UdpSingleSourceMulticastClient class and the underlying the Socket.

System_CAPS_pubmethodEndJoinGroup(IAsyncResult)

Obsolete.Completes the asynchronous join group operation to a multicast group.

System_CAPS_pubmethodEndReceiveFromSource(IAsyncResult, Int32)

Obsolete.Completes the asynchronous operation of receiving a packet from the joined multicast group and provides the information received.

System_CAPS_pubmethodEndSendToSource(IAsyncResult)

Obsolete.Completes the operation of sending a unicast packet to a single source.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

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 UdpSingleSourceMulticastClient 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 UdpSingleSourceMulticastClient class instead.

.NET Framework
Available since 4.5
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft