NetHelperGetLocalPoint_Port Method (Socket) | Helper帮助文档 |
获取Socket对象的本地终结点的端口号
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int GetLocalPoint_Port( Socket socket )
Public Shared Function GetLocalPoint_Port ( socket As Socket ) As Integer
public: static int GetLocalPoint_Port( Socket^ socket )
static member GetLocalPoint_Port : socket : Socket -> int
Parameters
- socket
- Type: System.Net.SocketsSocket
Socket对象
Return Value
Type: Int32[Missing <returns> documentation for "M:HD.Common.NetHelper.GetLocalPoint_Port(System.Net.Sockets.Socket)"]
See Also