点击或拖拽改变大小

HslTimeOutHandleTimeOutCheck 方法 (Socket, Int32)

新增一个超时检测的对象,需要指定socket,超时时间,返回HslTimeOut对象,用作标记完成信息
Add a new object for timeout detection, you need to specify the socket, the timeout period, and return the HslTimeOut object for marking completion information

命名空间:  HslCommunication
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static HslTimeOut HandleTimeOutCheck(
	Socket socket,
	int timeout
)

参数

socket
类型:System.Net.SocketsSocket
网络套接字
timeout
类型:SystemInt32
超时时间,单位为毫秒
Timeout period, in milliseconds

返回值

类型:HslTimeOut

[缺少 "M:HslCommunication.HslTimeOut.HandleTimeOutCheck(System.Net.Sockets.Socket,System.Int32)" 的 <returns> 文档]

参见