HslTimeOutHandleTimeOutCheck 方法 |
名称 | 说明 | |
---|---|---|
HandleTimeOutCheck(HslTimeOut) |
新增一个超时检测的对象,当操作完成的时候,需要自行标记HslTimeOut对象的IsSuccessful为True Add a new object for timeout detection. When the operation is completed, you need to mark the IsSuccessful of the HslTimeOut object as True | |
HandleTimeOutCheck(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 |