SocketAddress.GetMaximumAddressSize(AddressFamily) 方法

定义

获取给定 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

参数

addressFamily
AddressFamily

要使用的寻址方案。

返回

最大缓冲区大小。

适用于