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보다 작습니다.

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

설명

이 속성은 이 SendBufferSizeUdpAnySourceMulticastClient 인스턴스에서 멀티캐스트 보내기 작업에 사용되는 기본 소켓의 송신 버퍼 크기를 바이트 단위로 가져오거나 설정합니다.

또는 BeginSendTo 메서드에 대한 BeginSendToGroup 호출은 송신 버퍼가 가득 찬 경우 속성 값에 따라 콜백을 SendBufferSize 호출하는 데 더 오래 걸립니다. 이 속성은 SendBufferSize 보내기가 완료될 때까지 사용자의 버퍼가 실제 메모리에 잠겨 있는지 여부만 제어합니다.

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

적용 대상