Share via


UdpAnySourceMulticastClient.SendBufferSize Propiedad

Definición

Precaución

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

Obtiene o establece el tamaño, en bytes, del búfer de envío del elemento Socket usado para las operaciones de envío de multidifusión en esta instancia de UdpAnySourceMulticastClient.

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

Valor de propiedad

Devuelve Int32.

Tamaño, en bytes, del búfer de envío.

Atributos

Excepciones

El tamaño del búfer especificado es menor que 0.

El grupo de multidifusión no se unió todavía.

Comentarios

La SendBufferSize propiedad obtiene o establece el tamaño, en bytes, del búfer de envío del socket subyacente utilizado para las operaciones de envío de multidifusión en esta UdpAnySourceMulticastClient instancia.

Las llamadas a los BeginSendToGroup métodos o BeginSendTo tardarán más tiempo en llamar a la devolución de llamada en función del valor de la SendBufferSize propiedad si el búfer de envío está lleno. La SendBufferSize propiedad solo controla si el búfer del usuario permanece bloqueado en la memoria física hasta que se completa el envío.

El tamaño predeterminado del búfer de envío en Windows es de 8192 bytes.

Se aplica a