开发者

fsockeopen - knowing when timeout is triggered

fsockeopen returns a SOCKET_ETIMEDOUT integer when the connection time开发者_运维问答out is reached.

If we put a wrong host or a wrong port, do we get a timeout error as well?

(sorry, I'm on production server, and I need to know this by theory).

Thanks, MEM


If we put a wrong host, we got another error. If we put a wrong port, we do get a timeout error as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜