WSAEINTR (10004) Translation: Interrupted function call.; Description: A blocking operation was interrupted by a call to WSACancelBlockingCall (Wsapiref704y.asp. What is socket error? 3004 Aug 31, 2000 6:12 AM ( in response to 3004 ) Ksko, in your case it appears that all the servers are running correctly.
Most Windows Sockets 2 functions do not return the specific cause of an error when the function returns. For information, see the Handling Winsock Errors topic.
The WSAGetLastError function returns the last error that occurred for the calling thread. When a particular Windows Sockets function indicates an error has occurred, this function should be called immediately to retrieve the extended error code for the failing function call. These error codes and a short text description associated with an error code are defined in the Winerror.h header file. The FormatMessage function can be used to obtain the message string for the returned error.
For information on how to handle error codes when porting socket applications to Winsock, see Error Codes - errno, h_errno and WSAGetLastError.
The following list describes the possible error codes returned by the WSAGetLastError function. Errors are listed in numerical order with the error macro name. Some error codes defined in the Winsock2.h header file are not returned from any function.
Return code/value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
| Overlapped operations will complete later.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requirements
Header |
|
See also
We changed ISP's recently, & I notice that the ubuntu computer is having a lot of difficulty now with the internet. It frequenly hangs in the middle of a download.
When I visit speedtest.net on a wired windows box I get download speeds of 100MB/s.
A wireless android tablet gives 10MB/s.
When I try the same with the ubuntu laptop, It frequently hangs and reports a socket error.
I installed speedtest-cli & an seeing results like below.
service network-manager restart usually fixes it, but I don't know why it hangs.
Any advice would be appreciated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~
$ ifconfig
~~~~~~~~~~~~~~~
sudo lshw -C network
~~~~~wired~~~~~~
sudo lshw -C network
~~~~~wired~~~~~
$ ifconfig
1 Answer
Because I have the same problem I'm going to document what I know so far about this error:
speedtest upload failures and HTTP POST (upload to web via file attach feature of many web sites) will fail in this case.
The kernel version MAY be a factor.
Driver e1000e may be a factor.
The internet service provider or their DSL model MAY be a factor.
I will update when I know more. I am seeing the issue on Debian not Ubuntu, however. In my case the network service manager restart has NO effect. From the time of a fresh boot, this problem exists.