简体   繁体   中英

Socket connect returns errno ETIMEOUT

I have one Tcp/Ip with ssl server enabled with epoll so it can handle ten thousand connections simultaneously. When i tried to test the server,i created thousand clients using thread. when i tried to connect with the server,after certain time connect() return ETIMEOUT. How to overcome this error?

您可以更改recv和xmit超时值的套接字属性可能与设置keepalive属性的方式相同

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM