更新 include/Netra.hpp
This commit is contained in:
@@ -62,6 +62,13 @@ namespace QCL
|
||||
* @param clientSock 客户端Socket描述符
|
||||
*/
|
||||
void removeClient(int clientSock);
|
||||
|
||||
/**
|
||||
* @brief 非阻塞探测客户端是否已断开(不消耗数据)
|
||||
* @param clientSock 客户端Socket描述符
|
||||
* @return true 已断开或发生致命错误;false 仍然存活或暂无数据
|
||||
*/
|
||||
bool isClientDisconnected(int clientSock);
|
||||
|
||||
/**
|
||||
* @brief 获取当前所有已连接客户端Socket的副本
|
||||
|
||||
Reference in New Issue
Block a user