|
|
|
|
|
|
|
| Page 47 of 59 |
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||
| Macro | Code | Message |
| Description |
|
|
|
|
|
|
| |||
|
|
|
|
|
| An address incompatible with the |
| ||||||||
|
|
|
|
|
| requested protocol was used. All |
| ||||||||
|
|
|
|
|
| sockets are created with an |
| ||||||||
|
|
|
|
|
| associated "address | family" | (i.e. |
| ||||||
|
|
| Address | family | AF_INET for Internet Protocols) |
| |||||||||
| WSAEAFNOSUPPORT | 10047 | not | supported | and | a generic protocol | type | (i.e. |
| ||||||
| by | protocol | SOCK_STREAM). This error will |
| |||||||||||
|
|
|
| ||||||||||||
|
|
| family |
|
| be returned if an incorrect protocol |
| ||||||||
|
|
|
|
|
| is explicitly requested in the socket |
| ||||||||
|
|
|
|
|
| call, or if an address of the wrong |
| ||||||||
|
|
|
|
|
| family is used for a socket, e.g. in |
| ||||||||
|
|
|
|
|
| sendto. |
|
|
|
|
|
|
|
| |
|
|
|
|
|
| An operation was attempted on a |
| ||||||||
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
| had an operation in progress - i.e. |
| ||||||||
|
|
| Operation |
| calling connect a second time on a |
| |||||||||
|
|
|
|
| |||||||||||
| WSAEALREADY | 10037 | already | in |
| ||||||||||
|
|
| progress |
| connecting, | or | canceling | an |
| ||||||
|
|
|
| asynchronous |
|
|
|
| request |
| |||||
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
| (WSAAsyncGetXbyY) |
| that | has |
| |||||
|
|
|
|
|
| already | been | canceled | or |
| |||||
|
|
|
|
|
| completed |
|
|
|
|
|
|
| ||
|
|
| Software |
| An | established | connection | was |
| ||||||
|
|
|
| aborted by the software in the host |
| ||||||||||
|
|
| caused |
|
| ||||||||||
| WSAECONNABORTED | 10053 |
| machine, | possibly due | to | a | data |
| ||||||
| connection |
| |||||||||||||
|
|
| transmission | timeout | or | protocol |
| ||||||||
|
|
| abort |
|
|
| |||||||||
|
|
|
|
| error. |
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
| No connection could be made |
| ||||||||
|
|
|
|
|
| because | the | target | machine |
| |||||
|
|
| Connection | actively | refused | it. | This | usually |
| ||||||
| WSAECONNREFUSED | 10061 | results from trying to connect to a |
| |||||||||||
| refused |
|
| ||||||||||||
|
|
|
| service that is inactive on the |
| ||||||||||
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
| foreign host - i.e. one with no |
| ||||||||
|
|
|
|
|
| server application running. |
|
|
| ||||||
|
|
|
|
|
| An existing connection was forcibly |
| ||||||||
|
|
|
|
|
| closed by the remote host. This |
| ||||||||
|
|
|
|
|
| normally results if the peer |
| ||||||||
|
|
|
|
|
| application on the remote host is |
| ||||||||
|
|
|
|
|
| suddenly stopped, the host is |
| ||||||||
|
|
|
|
|
| rebooted, or the remote host used |
| ||||||||
|
|
|
|
|
| a "hard close" (see setsockopt for |
| ||||||||
|
|
|
|
|
| more | information |
| on | the |
| ||||
| WSAECONNRESET | 10054 | Connection | SO_LINGER option on the remote |
| ||||||||||
| reset by peer | socket.) This error may also result |
| ||||||||||||
|
|
|
| ||||||||||||
|
|
|
|
|
| if a connection was broken due to |
| ||||||||
|
|
|
|
|
| activity | detecting a |
| |||||||
|
|
|
|
|
| failure while one or more |
| ||||||||
|
|
|
|
|
| operations | are | in | progress. |
| |||||
|
|
|
|
|
| Operations that were in progress |
| ||||||||
|
|
|
|
|
| fail | with | WSAENETRESET. |
| ||||||
|
|
|
|
|
| Subsequent | operations | fail | with |
| |||||
|
|
|
|
|
| WSAECONNRESET. |
|
|
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)