UdpAnySourceMulticastClient.SendBufferSize Propriedade

Definição

Atenção

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

Obtém ou define o tamanho, em bytes, do buffer de envio utilizado Socket para operações de envio multicast nesta UdpAnySourceMulticastClient instância.

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 Propriedade

Retorna Int32.

O tamanho, em bytes, do buffer de envio.

Atributos

Exceções

O tamanho do buffer especificado é inferior a 0.

O grupo multicast ainda não foi incluído.

Observações

A SendBufferSize propriedade obtém ou define o tamanho, em bytes, do buffer de envio do Socket subjacente usado para operações de envio multicast nesta UdpAnySourceMulticastClient instância.

as chamadas para os BeginSendToGroup métodos OR BeginSendTo demorarão mais tempo a chamar o callback dependendo do valor da SendBufferSize propriedade se o buffer de envio estiver cheio. A SendBufferSize propriedade só controla se o buffer do utilizador permanece bloqueado na memória física até o envio ser concluído.

O tamanho padrão do buffer de envio no Windows é de 8.192 bytes.

Aplica-se a