开发者

fsockeopen - knowing when timeout is triggered

开发者 https://www.devze.com 2023-01-31 06:37 出处:网络
fsockeopen returns a SOCKET_ETIMEDOUT integer when the connection time开发者_运维问答out is reached.

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

精彩评论

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