UdpSingleSourceMulticastClient.ReceiveBufferSize 속성

정의

주의

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

UdpSingleSourceMulticastClient 인스턴스에 대한 멀티캐스트 수신 작업에 사용되는 Socket의 수신 버퍼 크기(바이트)를 가져오거나 설정합니다.

public:
 property int ReceiveBufferSize { int get(); void set(int value); };
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public int ReceiveBufferSize { get; set; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.ReceiveBufferSize : int with get, set
Public Property ReceiveBufferSize As Integer

속성 값

Int32

Int32를 반환합니다.

수신 버퍼의 크기(바이트)입니다.

특성

예외

지정된 버퍼 크기가 0보다 작습니다.

멀티캐스트 그룹이 아직 조인되지 않았습니다.

설명

합니다 ReceiveBufferSize 속성 내부의 수신 버퍼를 바이트 단위로 크기를 설정 하거나 가져옵니다 Socket 이에 대 한 멀티 캐스트 수신 작업에 사용 되는 UdpSingleSourceMulticastClient 인스턴스. 특히 합니다 ReceiveBufferSize 패킷이 도착 하면 애플리케이션이 아직 호출 하지 않은 경우 스택에서 사용 되는 버퍼의 크기를 제어 하는 속성을 BeginReceiveFromSource 메서드. 이 버퍼 채워지면 및 패킷 애플리케이션 호출 하기 전에 들어오는 유지 하는 경우는 BeginReceiveFromSourceEndReceiveFromSource 메서드, 이전 패킷이 삭제 됩니다. 애플리케이션 이전 고 패킷을 받도록 할 수 없습니다 및 호출 때 최신 패킷을 받는 대신는 BeginReceiveFromSource 메서드.

Windows의 수신 버퍼의 기본 크기는 8,192입니다.

적용 대상