다음을 통해 공유


UdpAnySourceMulticastClient.SendBufferSize 속성

정의

주의

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

UdpAnySourceMulticastClient 인스턴스에서 멀티캐스트 전송 작업에 사용되는 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 속성에 멀티 캐스트 전송 작업에 사용 되는 기본 소켓의 보내기 버퍼를 바이트 단위로 크기를 설정 하거나 가져옵니다 UdpAnySourceMulticastClient 인스턴스.

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

Windows의 송신 버퍼의 기본 크기는 8192 바이트입니다.

적용 대상