建议在 IdTCPServer1Execute 事件上添加一个 IndySleep(Value)? 如果是,您建议使用什么值?
我问它是因为当许多客户端连接时我的 IdTCPServer 使用了太多的 CPU。
谢谢。
最佳答案
建议在 IdTCPServer1Execute 事件上添加一个 IndySleep(Value)?是的
如果是,您建议使用什么值? 1000/(客户数量)
关于delphi - 在 IdTCPServer1Execute 上使用 IndySleep,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54193255/