各位大虾:
新年好!在这祝大家在新的一年里,事业蒸蒸日上!
我在跟踪socket传输时,发现send函数老是出现个错误,使用WSAGetLastError()这个错误返回函数,它的返回值是10035。这是什么错误呢?
新年好!在这祝大家在新的一年里,事业蒸蒸日上!
我在跟踪socket传输时,发现send函数老是出现个错误,使用WSAGetLastError()这个错误返回函数,它的返回值是10035。这是什么错误呢?
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.
我后来也查过相关资料:case 10035 error = Operation would block