原文的10035错误说明
Resource temporarily unavailable.
This error is returned from operations on nonblocking sockets that cannot be completed immediately, for example recv when no data is queued to be read from the socket. It is a nonfatal error, and the operation should be retried later. It is normal for WSAEWOULDBLOCK to be reported as the result from calling connect on a nonblocking SOCK_STREAM socket, since some time must elapse for the connection to be established.
资源暂时不可用。
这个错误在无堵塞的操作上返回,不能够立即完成。 例子:recv函数当套接字读取不到数据的时候。这是一个致命的错误,和操作将会在之后重试。它是普通用于报告在无堵塞流里调用connect套接字的结果,自从一些时间必须用来建立连接。
本文详细解析了10035错误(资源暂时不可用),解释了该错误为何会在非阻塞套接字操作中出现,例如recv函数无法从套接字读取数据的情况。此外还介绍了此错误通常是非致命的,并且在调用connect函数于非阻塞SOCK_STREAM套接字时正常出现的原因。

1万+

被折叠的 条评论
为什么被折叠?



