Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
fsockeopen 在达到连接超时时返回一个 SOCKET_ETIMEDOUT 整数。
如果我们放置了错误的 主机或端口,是否也会出现超时错误?
(对不起,我在生产服务器上,我需要从理论上知道这一点)。
谢谢,记忆
如果我们放置了一个错误的主机,我们就会得到另一个错误。如果我们放置了错误的端口,我们也会收到超时错误。