UdpSingleSourceMulticastClient 類別

定義

警告

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

單一來源的多點流量的用戶端接收器,也稱為特定來源多點傳送 (SSM,Source Specific Multicast)。

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

備註

必須知道多播群組位址和寄件者來源位址。

除了從特定傳送者接收多播數據之外, UdpSingleSourceMulticastClient 用戶端也可以將單播數據傳回給傳送者。

若要從多個來源接收多播,或事先不知道來源時,請改用 UdpSingleSourceMulticastClient 類別。

建構函式

UdpSingleSourceMulticastClient(IPAddress, IPAddress, Int32)
已淘汰.

建立新的 UdpSingleSourceMulticastClient UDP 用戶端,可以訂閱群組位址,並從單一來源接收資料包。

屬性

ReceiveBufferSize
已淘汰.

取得或設定 Socket 的接收緩衝區大小 (以位元組為單位),用於這個 UdpSingleSourceMulticastClient 執行個體上多點傳送的接收作業。

SendBufferSize
已淘汰.

取得或設定 Socket 的傳送緩衝區大小 (以位元組為單位),用於這個 UdpSingleSourceMulticastClient 執行個體上多點傳送的傳送作業。

方法

BeginJoinGroup(AsyncCallback, Object)
已淘汰.

繫結通訊端並開始加入多點傳送群組中的作業,以允許從單一來源位址接收資料包。

BeginReceiveFromSource(Byte[], Int32, Int32, AsyncCallback, Object)
已淘汰.

開始從已加入的多點傳送群組接收封包之作業,並在封包從指定的寄件者送達群組時,叫用指定的回呼。

BeginSendToSource(Byte[], Int32, Int32, Int32, AsyncCallback, Object)
已淘汰.

開始將單點傳播封包傳送到先前指定來源的作業。

Dispose()
已淘汰.

離開多點傳送群組,並釋出目前的 UdpSingleSourceMulticastClient 類別執行個體和基礎 Socket 使用的所有資源。

EndJoinGroup(IAsyncResult)
已淘汰.

完成對多點傳送群組的非同步加入群組作業。

EndReceiveFromSource(IAsyncResult, Int32)
已淘汰.

完成從已聯結之多點傳送群組接收封包的非同步作業,並提供接收到的資訊。

EndSendToSource(IAsyncResult)
已淘汰.

完成傳送單點傳播封包至單一來源的作業。

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於