NetHelper.BindEndPoint Method (Socket, IPEndPoint)

HD.Common

NetHelperBindEndPoint Method (Socket, IPEndPoint) Helper帮助文档
绑定终结点

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

public static void BindEndPoint(
	Socket socket,
	IPEndPoint endPoint
)
Public Shared Sub BindEndPoint ( 
	socket As Socket,
	endPoint As IPEndPoint
)
public:
static void BindEndPoint(
	Socket^ socket, 
	IPEndPoint^ endPoint
)
static member BindEndPoint : 
        socket : Socket * 
        endPoint : IPEndPoint -> unit 

Parameters

socket
Type: System.Net.SocketsSocket
Socket对象
endPoint
Type: System.NetIPEndPoint
要绑定的终结点
See Also

Reference