PipeTcpNet 构造函数 (Socket, IPEndPoint) |
通过指定的套接字及连接的终结点来实例化一个对象
Instantiate an object by specifying the socket and the endpoint of the connection
命名空间:
HslCommunication.Core.Pipe
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public PipeTcpNet(
Socket socket,
IPEndPoint iPEndPoint
)
Public Sub New (
socket As Socket,
iPEndPoint As IPEndPoint
)
public:
PipeTcpNet(
Socket^ socket,
IPEndPoint^ iPEndPoint
)
new :
socket : Socket *
iPEndPoint : IPEndPoint -> PipeTcpNet
参数
- socket
- 类型:System.Net.SocketsSocket
连接的套接字对象 - iPEndPoint
- 类型:System.NetIPEndPoint
连接的远程地址信息
参见