Compartilhar via


SocketAddress.GetMaximumAddressSize(AddressFamily) Método

Definição

Obtém o tamanho máximo do buffer necessário para o determinado AddressFamily.

public:
 static int GetMaximumAddressSize(System::Net::Sockets::AddressFamily addressFamily);
public static int GetMaximumAddressSize (System.Net.Sockets.AddressFamily addressFamily);
static member GetMaximumAddressSize : System.Net.Sockets.AddressFamily -> int
Public Shared Function GetMaximumAddressSize (addressFamily As AddressFamily) As Integer

Parâmetros

addressFamily
AddressFamily

O esquema de endereçamento a ser usado.

Retornos

O tamanho máximo do buffer.

Aplica-se a