![](/img/trans.png)
[英]I would like to maintain three tcp/ip client connection with in a same machine and those will be connected to one server is it possible?
[英]suitable I/O model for the application which maintain 1000 TCP connection
我正在使用可以模拟1000个网关的Gateway Simulator,网关与数据中心连接,客户端应用程序与数据中心连接。
网关
数据中心从客户端查询信息
这里的网关可能最多有1000个套接字。我想知道I / O.Gateway可以在使用c ++开发的Windows和Linux上运行。在此我有禁止使用任何第三方库的限制。
在这里,如何管理网关中的大量连接。 1.从数据中心接收请求,最大可能是1000。 2.将响应发送到数据中心。
我还需要Windows和Linux中所需的I / O模型。
C10K问题对此进行了详细讨论,应该足以使您了解接受大量连接所涉及的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.