|
|
|
|
|
| Page 48 of 59 |
| |||||
|
|
|
|
|
|
|
|
|
|
| ||
| Macro | Code | Message | Description |
|
|
|
|
|
| ||
|
|
|
| A required address was omitted |
| |||||||
|
|
| Destination | from an operation on a socket. For |
| |||||||
| WSAEDESTADDRREQ | 10039 | address | example, this error will be returned |
| |||||||
|
|
| required | if sendto is called with the remote |
| |||||||
|
|
|
| address of ADDR_ANY. |
|
|
|
| ||||
|
|
|
| The system detected an invalid |
| |||||||
|
|
|
| pointer address in attempting to |
| |||||||
|
|
|
| use a pointer argument of a call. |
| |||||||
|
|
|
| This error occurs if an application |
| |||||||
| WSAEFAULT | 10014 | Bad address | passes an invalid pointer value, or |
| |||||||
| if the length of the buffer is too |
| ||||||||||
|
|
|
|
| ||||||||
|
|
|
| small. For instance, if the length of |
| |||||||
|
|
|
| an argument which is a struct |
| |||||||
|
|
|
| sockaddr | is | smaller | than |
| ||||
|
|
|
| sizeof(struct sockaddr). |
|
|
|
| ||||
|
|
|
| A socket operation failed because |
| |||||||
|
|
|
| the destination host was down. A |
| |||||||
|
|
|
| socket | operation | encountered | a |
| ||||
| WSAEHOSTDOWN | 10064 | Host is down | dead | host. Networking | activity | on |
| ||||
| the local host has not been |
| ||||||||||
|
|
|
|
| ||||||||
|
|
|
| initiated. | These | conditions | are |
| ||||
|
|
|
| more likely to be indicated by the |
| |||||||
|
|
|
| error WSAETIMEDOUT. |
|
|
|
| ||||
|
|
|
| A socket operation was attempted |
| |||||||
| WSAEHOSTUNREACH | 10065 | No route to host | to an unreachable host. See |
| |||||||
|
|
|
| WSAENETUNREACH |
|
|
|
| ||||
|
|
|
| A blocking operation is currently |
| |||||||
|
|
|
| executing. Windows Sockets | only |
| ||||||
|
|
|
| allows a single blocking operation |
| |||||||
| WSAEINPROGRESS | 10036 | Operation now | to be outstanding per task (or |
| |||||||
| in progress | thread), | and | if any other function |
| |||||||
|
|
| call is made (whether or not it |
| ||||||||
|
|
|
|
| ||||||||
|
|
|
| references that or any other |
| |||||||
|
|
|
| socket) the function fails with the |
| |||||||
|
|
|
| WSAEINPROGRESS error. |
|
|
| |||||
|
|
| Interrupted | A | blocking | operation | was |
| ||||
| WSAEINTR | 10004 | interrupted | by | a | call |
| to |
| |||
| function call |
|
| |||||||||
|
|
| WSACancelBlockingCall. |
|
|
| ||||||
|
|
|
|
|
|
| ||||||
|
|
|
| Some | invalid | argument | was |
| ||||
|
|
|
| supplied | (for | example, | specifying |
| ||||
|
|
|
| an invalid level to the setsockopt |
| |||||||
| WSAEINVAL | 10022 | Invalid | function). In some instances, it also |
| |||||||
| argument | refers to the current state of the |
| |||||||||
|
|
|
| |||||||||
|
|
|
| socket - for instance, calling |
| |||||||
|
|
|
| accept on a socket that is not |
| |||||||
|
|
|
| listening. |
|
|
|
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)