PipeSslNet 构造函数 (Socket, IPEndPoint, Boolean) |
通过指定的套接字及连接的终结点来实例化一个对象
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 PipeSslNet(
Socket socket,
IPEndPoint iPEndPoint,
bool serverMode
)
Public Sub New (
socket As Socket,
iPEndPoint As IPEndPoint,
serverMode As Boolean
)
public:
PipeSslNet(
Socket^ socket,
IPEndPoint^ iPEndPoint,
bool serverMode
)
new :
socket : Socket *
iPEndPoint : IPEndPoint *
serverMode : bool -> PipeSslNet
参数
- socket
- 类型:System.Net.SocketsSocket
连接的套接字对象 - iPEndPoint
- 类型:System.NetIPEndPoint
连接的远程地址信息 - serverMode
- 类型:SystemBoolean
是否为服务器模式
参见