Export (0) Print
Expand All

UdpSingleSourceMulticastClient Class

.NET Framework 4.5

Note: This API is now obsolete.

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

System.Object
  System.Net.Sockets.UdpSingleSourceMulticastClient

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

[<ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
    true)>]
type UdpSingleSourceMulticastClient =  
    class 
        interface IDisposable 
    end

The UdpSingleSourceMulticastClient type exposes the following members.

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

  NameDescription
Public propertyReceiveBufferSize Obsolete. Gets or sets the size, in bytes, of the receive buffer of the Socket used for multicast receive operations on this UdpSingleSourceMulticastClient instance.
Public propertySendBufferSize Obsolete. Gets or sets the size, in bytes, of the send buffer of the Socket used for multicast send operations on this UdpSingleSourceMulticastClient instance.
Top

  NameDescription
Public methodBeginJoinGroup Obsolete. Binds the socket and begins a join operation to the multicast group to allow datagrams to be received from a single source address.
Public methodBeginReceiveFromSource 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.
Public methodBeginSendToSource Obsolete. Begins the operation of sending a unicast packet to the source previously specified.
Public methodDispose Obsolete. Leaves the multicast group and releases all resources used by the current instance of the UdpSingleSourceMulticastClient class and the underlying the Socket.
Public methodEndJoinGroup Obsolete. Completes the asynchronous join group operation to a multicast group.
Public methodEndReceiveFromSource Obsolete. Completes the asynchronous operation of receiving a packet from the joined multicast group and provides the information received.
Public methodEndSendToSource Obsolete. Completes the operation of sending a unicast packet to a single source.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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

Obsolete (does not compile) in 4.5.2 and later

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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