NetHelperCreateIPEndPoint Method | Helper帮助文档 |
创建一个IPEndPoint对象
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static IPEndPoint CreateIPEndPoint( string ip, int port )
Public Shared Function CreateIPEndPoint ( ip As String, port As Integer ) As IPEndPoint
public: static IPEndPoint^ CreateIPEndPoint( String^ ip, int port )
static member CreateIPEndPoint : ip : string * port : int -> IPEndPoint
Parameters
- ip
- Type: SystemString
IP地址 - port
- Type: SystemInt32
端口号
Return Value
Type: IPEndPoint[Missing <returns> documentation for "M:HD.Common.NetHelper.CreateIPEndPoint(System.String,System.Int32)"]
See Also