阅读背景:

如何在Linux中阻止等待connect()API

来源:互联网 

In my client program (c++) I am trying to connect server machine through socket using connect() API. I want to make a scenario that my client application is in blocked wait (ie return ETIMEDOUT errno after a long time). But connect() API is returning with success or failure only. It is not waiting. What should I do to make connect() API in blocked wait.In my client program (c++) I am trying to conne




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: