Bagikan melalui


SocketAddress.GetMaximumAddressSize(AddressFamily) Metode

Definisi

Mendapatkan ukuran buffer maksimum yang diperlukan untuk yang diberikan 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

Parameter

addressFamily
AddressFamily

Skema alamat yang akan digunakan.

Mengembalikan

Ukuran buffer maksimum.

Berlaku untuk