NetHelperGetLocalPoint_Port Method (TcpListener) | Helper帮助文档 |
获取TcpListener对象的本地终结点的端口号
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( TcpListener tcpListener )
Public Shared Function GetLocalPoint_Port ( tcpListener As TcpListener ) As Integer
public: static int GetLocalPoint_Port( TcpListener^ tcpListener )
static member GetLocalPoint_Port : tcpListener : TcpListener -> int
Parameters
- tcpListener
- Type: System.Net.SocketsTcpListener
TcpListener对象
Return Value
Type: Int32[Missing <returns> documentation for "M:HD.Common.NetHelper.GetLocalPoint_Port(System.Net.Sockets.TcpListener)"]
See Also