HP-Socket
HP-Socket copied to clipboard
High Performance TCP/UDP/HTTP Communication Component
https://github.com/facebook/zstd zstd压缩库链接如上
set thread name for epoll worker thread, so that we can observe the cpu usage of every worker thread easily in top -H -p $pid.
现在的http自己还要了解WS协议,不符合HP简单易用风格。
 what should i do ?
I TCP PACK Server/Client 组件    设置了正常、异常心跳包间隔,也使用了超时公式计算了超时的毫秒数,那为什么还是不行?手动触发超时后,客户端就断开了,难道心跳包没有正常按时发送么?
在规则DLL中使用HP-Socket时,退出DLL时,设置了在ExitInstance函数中退出连接,调用CTcpClientPtr对象的Stop()时无法成功退出。 中断后发现函数是在WaitForMultipleObjectsWithMessageLoop中的::MsgWaitForMultipleObjects 中。 请问应该如何解决呢?
在EnHandleResult OnReceive(CONNID dwConnID, const BYTE* pData, int iLength)函数中返回HR_ERROR 偶尔会触发m_iPending>=0 
在UdpCast.cpp CreateClientSocket函数中 客户端不应该同时绑定目标端口。否则在服务端运行的主机上客户端就会绑定端口失败。