DeviceServerSocketAcceptExtraCheck 方法 |
当客户端的socket登录的时候额外检查的操作,并返回操作的结果信息。
The operation is additionally checked when the client's socket logs in, and the result information of the operation is returned.
命名空间:
HslCommunication.Core.Device
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected virtual OperateResult SocketAcceptExtraCheck(
Socket socket,
IPEndPoint endPoint
)
Protected Overridable Function SocketAcceptExtraCheck (
socket As Socket,
endPoint As IPEndPoint
) As OperateResult
protected:
virtual OperateResult^ SocketAcceptExtraCheck(
Socket^ socket,
IPEndPoint^ endPoint
)
abstract SocketAcceptExtraCheck :
socket : Socket *
endPoint : IPEndPoint -> OperateResult
override SocketAcceptExtraCheck :
socket : Socket *
endPoint : IPEndPoint -> OperateResult
参数
- socket
- 类型:System.Net.SocketsSocket
套接字 - endPoint
- 类型:System.NetIPEndPoint
终结点
返回值
类型:
OperateResult验证的结果
参见