UdpSingleSourceMulticastClient.SendBufferSize 속성

정의

주의

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

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

public:
 property int SendBufferSize { 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 SendBufferSize { 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.SendBufferSize : int with get, set
Public Property SendBufferSize As Integer

속성 값

Int32를 반환합니다.

전송 버퍼의 크기(바이트)입니다.

특성

예외

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

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

설명

SendBufferSize 속성 기본의 보내기 버퍼를 바이트 단위로 크기를 설정 하거나 가져옵니다 Socket 이 멀티 캐스트 전송 작업에 사용 되는 UdpSingleSourceMulticastClient 인스턴스.

Mac OS X에서 합니다 SendBufferSize 속성을 위한 추가적인 호출 하기 전에 네트워크 스택의 전송 대기 중인 버퍼의 바이트 수 수를 제어 합니다 BeginSendToSource 메서드가 실패 하기 시작 합니다. Mac OS X에서 애플리케이션 단기간에 UDP 패킷이 많이 보내는 경우이 속성을 사용 하 여 관련 되도록 해야 합니다.

Windows를 호출 합니다 BeginSendToSource 메서드는 값에 따라 콜백을 호출 하는 데 더 걸립니다를 SendBufferSize 송신 버퍼가 가득 찬 경우 속성입니다. SendBufferSize 보내기 완료 될 때까지 실제 메모리에서 잠긴 사용자의 버퍼의 유지 여부 속성 유일한 컨트롤입니다.

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

적용 대상