NetHelper.CreateTcpListener Method (String, Int32)

HD.Common

NetHelperCreateTcpListener Method (String, Int32) Helper帮助文档
创建一个TcpListener对象

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static TcpListener CreateTcpListener(
	string ip,
	int port
)
Public Shared Function CreateTcpListener ( 
	ip As String,
	port As Integer
) As TcpListener
public:
static TcpListener^ CreateTcpListener(
	String^ ip, 
	int port
)
static member CreateTcpListener : 
        ip : string * 
        port : int -> TcpListener 

Parameters

ip
Type: SystemString
IP地址
port
Type: SystemInt32
端口

Return Value

Type: TcpListener

[Missing <returns> documentation for "M:HD.Common.NetHelper.CreateTcpListener(System.String,System.Int32)"]

See Also

Reference