संपादित करें

इसके माध्यम से साझा किया गया


UdpAnySourceMulticastClient Class

Definition

Caution

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

A client receiver for multicast traffic from any source, also known as Any Source Multicast (ASM) or Internet Standard Multicast (ISM).

public ref class UdpAnySourceMulticastClient : IDisposable
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public class UdpAnySourceMulticastClient : IDisposable
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
type UdpAnySourceMulticastClient = class
    interface IDisposable
Public Class UdpAnySourceMulticastClient
Implements IDisposable
Inheritance
UdpAnySourceMulticastClient
Attributes
Implements

Constructors

UdpAnySourceMulticastClient(IPAddress, Int32)
Obsolete.

Creates a new UdpAnySourceMulticastClient UDP client that can subscribe to a group address and receive datagrams from any source.

Properties

MulticastLoopback
Obsolete.

Gets or sets a value that specifies whether outgoing multicast packets are delivered to the sending application.

ReceiveBufferSize
Obsolete.

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

SendBufferSize
Obsolete.

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

Methods

BeginJoinGroup(AsyncCallback, Object)
Obsolete.

Binds the socket and begins a join operation to the multicast group to allow datagrams to be received from any group participant.

BeginReceiveFromGroup(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 any sender.

BeginSendTo(Byte[], Int32, Int32, IPEndPoint, AsyncCallback, Object)
Obsolete.

Begins the operation of sending a unicast packet to the specified destination.

BeginSendToGroup(Byte[], Int32, Int32, AsyncCallback, Object)
Obsolete.

Begins the operation of sending a packet to a joined multicast group and invokes the specified callback when a packet has been sent to the group.

BlockSource(IPAddress)
Obsolete.

Blocks a source so that multicast packets originating from it are no longer received.

Dispose()
Obsolete.

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

EndJoinGroup(IAsyncResult)
Obsolete.

Completes the asynchronous join group operation to a multicast group.

EndReceiveFromGroup(IAsyncResult, IPEndPoint)
Obsolete.

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

EndSendTo(IAsyncResult)
Obsolete.

Completes the operation of sending a unicast packet to the specified destination.

EndSendToGroup(IAsyncResult)
Obsolete.

Completes the operation of sending a packet to a multicast group.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)
UnblockSource(IPAddress)
Obsolete.

Unblocks a source that was previously blocked by a call to the BlockSource(IPAddress) method so that multicast packets originating from it can be received.

Applies to