HP-Socket icon indicating copy to clipboard operation
HP-Socket copied to clipboard

High Performance TCP/UDP/HTTP Communication Component

Results 39 HP-Socket issues
Sort by recently updated
recently updated
newest added

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简单易用风格。

![image](https://github.com/ldcsaa/HP-Socket/assets/116987482/444cbb94-af4f-44f8-a5ba-307304152226) what should i do ?

I TCP PACK Server/Client 组件 ![微信截图_20230919093025](https://github.com/ldcsaa/HP-Socket/assets/59820799/64319a7b-0bd4-4e2d-a2ca-439c392231e6) ![微信截图_20230919092941](https://github.com/ldcsaa/HP-Socket/assets/59820799/2a9a9dd3-aef4-43ab-9126-201be4905734) ![微信截图_20230919093003](https://github.com/ldcsaa/HP-Socket/assets/59820799/d4d7fe50-d0c6-4fb3-a684-b14ade6e805b) 设置了正常、异常心跳包间隔,也使用了超时公式计算了超时的毫秒数,那为什么还是不行?手动触发超时后,客户端就断开了,难道心跳包没有正常按时发送么?

在规则DLL中使用HP-Socket时,退出DLL时,设置了在ExitInstance函数中退出连接,调用CTcpClientPtr对象的Stop()时无法成功退出。 中断后发现函数是在WaitForMultipleObjectsWithMessageLoop中的::MsgWaitForMultipleObjects 中。 请问应该如何解决呢?

在EnHandleResult OnReceive(CONNID dwConnID, const BYTE* pData, int iLength)函数中返回HR_ERROR 偶尔会触发m_iPending>=0 ![image](https://github.com/ldcsaa/HP-Socket/assets/18320534/07232f1b-addc-4aa4-858e-b196b80a2bc7)

在UdpCast.cpp CreateClientSocket函数中 客户端不应该同时绑定目标端口。否则在服务端运行的主机上客户端就会绑定端口失败。