UdpAnySourceMulticastClient.SendBufferSize Propriedade

Definição

Cuidado

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 do Socket usado para operações de envio de multicast nessa instância 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 da propriedade

Int32

Retorna Int32.

O tamanho, em bytes, do buffer de envio.

Atributos

Exceções

O tamanho do buffer especificado é menor que 0.

O grupo de multicast ainda não foi unido.

Comentários

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

chamadas para os BeginSendToGroup BeginSendTo métodos ou levarão mais tempo para chamar o retorno de chamada, dependendo do valor da SendBufferSize propriedade se o buffer de envio estiver cheio. A SendBufferSize propriedade controla apenas se o buffer do usuário permanece bloqueado na memória física até que o envio seja concluído.

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

Aplica-se a