|
|
|
|
User Fixable Errors - There are two basic types of errors: those an application user can remedy, and those he cannot and a user should never see an error that is not user-fixable. Here is a list of user-fixable errors:
WSAEINTR (10004)
Interrupted function call WSAEBADF (10009) Bad file number
WSAEACCES (10013)
Permission denied
WSAEFAULT (10014)
Bad address This error occurs if an application 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). |
|
|
WSAEINVAL (10022) Invalid argument Some invalid argument was supplied (for example, specifying an invalid level to the setsockopt function).
In some instances, it also refers to the current state of the socket - for instance, calling accept on a socket that is not listening.
WSAEMFILE (10024)
Too many open files
WSAEWOULDBLOCK (10035) It is a non-fatal error, and the operation should be retried later. It is normal for WSAEWOULDBLOCK to be reported as the result from calling connects on a non-blocking SOCK_STREAM socket, since some time must elapse for the connection to be established.
WSAEINPROGRESS (10036)
Operation now in progress
WSAEALREADY (10037)
Operation already in progress
WSAENOTSOCK (10038)
Socket operation on non-socket
WSAEDESTADDRREQ (10039)
WSAEPROTOTYPE (10041)
WSAENOPROTOOPT (10042)
Bad protocol option
WSAEPROTONOSUPPORT (10043)
WSAESOCKTNOSUPPORT (10044)
WSAEOPNOTSUPP (10045)
Operation not supported Usually this occurs when a socket descriptor to a socket that cannot support this operation, for example, trying to accept a connection on a datagram socket. List of user-fixable errors - Continue Next Page 3/3 |
|
|
|
![]() |
Can't find
what you want? Try Google... |
|
©Copyright June 2002 Permission to re-print, please click here
![]() |
Suggestions or feed-back, please drop us a note | eMail CRM Freeware | This site>>eMail Bolts & Nuts Home | Guest Book | Refund Policy | Privacy Policy | Contact Us | Support | Purchase | Product Info | Quick Tour Minute Wisdom | Sun Tzu Art of War | Useful Sites | eMail Broadcast FAQ's | Art of eMail CRM | eMail Marketing Tips |