
|
|
|
|
|
| Page 50 of 59 |
| |||||
|
|
|
|
|
|
|
|
|
|
|
| |
| Macro | Code | Message |
| Description |
|
|
|
|
|
| |
|
|
|
|
| A request to send or receive data |
| ||||||
|
|
|
|
| was disallowed because the socket |
| ||||||
|
|
|
|
| is not connected and (when |
| ||||||
|
|
|
|
| sending on a datagram socket |
| ||||||
| WSAENOTCONN | 10057 | Socket is not | using | sendto) | no | address | was |
| |||
| connected | supplied. Any other type of |
| |||||||||
|
|
|
| |||||||||
|
|
|
|
| operation might also return this |
| ||||||
|
|
|
|
| error - for example, setsockopt |
| ||||||
|
|
|
|
| setting SO_KEEPALIVE if the |
| ||||||
|
|
|
|
| connection has been reset. |
|
|
| ||||
|
|
|
|
| An operation was attempted on |
| ||||||
|
|
| Socket |
| something that | is not a | socket. |
| ||||
|
|
|
| Either the socket handle parameter |
| |||||||
| WSAENOTSOCK | 10038 | operation | on |
| |||||||
|
|
| did not reference a valid socket, or |
| ||||||||
|
|
| for select, a member of an fd_set |
| ||||||||
|
|
|
|
|
| |||||||
|
|
|
|
| was not valid. |
|
|
|
|
| ||
|
|
|
|
| The attempted operation is not |
| ||||||
|
|
|
|
| supported for the type of object |
| ||||||
|
|
|
|
| referenced. | Usually | this | occurs |
| |||
| WSAEOPNOTSUPP | 10045 | Operation | not | when | a socket | descriptor to a |
| ||||
| supported | socket that cannot support this |
| |||||||||
|
|
|
| |||||||||
|
|
|
|
| operation, for example, trying to |
| ||||||
|
|
|
|
| accept a connection on a datagram |
| ||||||
|
|
|
|
| socket. |
|
|
|
|
|
|
|
|
|
|
|
| The protocol family has not been |
| ||||||
|
|
|
|
| configured into the system or no |
| ||||||
|
|
|
|
| implementation for it exists. Has a |
| ||||||
| WSAEPFNOSUPPORT | 10046 | Protocol | family | slightly | different | meaning | to |
| |||
| not supported | WSAEAFNOSUPPORT, | but | is |
| |||||||
|
|
| interchangeable in most cases, and |
| ||||||||
|
|
|
|
|
| |||||||
|
|
|
|
| all Windows Sockets functions that |
| ||||||
|
|
|
|
| return one of these specify |
| ||||||
|
|
|
|
| WSAEAFNOSUPPORT. |
|
|
| ||||
|
|
|
|
| A | Windows |
| Sockets |
| |||
|
|
|
|
| implementation may have a limit on |
| ||||||
| WSAEPROCLIM | 10067 | Too | many | the number | of | applications | that |
| |||
| processes | may | use | it | simultaneously. |
| ||||||
|
|
|
| |||||||||
|
|
|
|
| WSAStartup may fail with this |
| ||||||
|
|
|
|
| error if the limit has been reached. |
| ||||||
|
|
|
|
| The requested protocol has not |
| ||||||
|
|
|
|
| been configured into the system, or |
| ||||||
| WSAEPROTONOSUPPORT | 10043 | Protocol | not | no implementation for it exists. For |
| ||||||
| supported | example, a socket call requests a |
| |||||||||
|
|
|
| |||||||||
|
|
|
|
| SOCK_DGRAM | socket, | but |
| ||||
|
|
|
|
| specifies a stream protocol. |
|
|
| ||||
|
|
|
|
| A protocol was specified in the |
| ||||||
|
|
|
|
| socket function call that does not |
| ||||||
| WSAEPROTOTYPE | 10041 | Protocol | wrong | support the semantics of the socket |
| ||||||
| type for socket | type requested. For | example, | the |
| |||||||
|
|
| ARPA | Internet | UDP | protocol |
| |||||
|
|
|
|
|
| |||||||
|
|
|
|
| cannot be specified with a socket |
| ||||||
|
|
|
|
| type of SOCK_STREAM. |
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)