In some instances, it also refers to the current state of the socket - for instance, calling accept() on a socket that is not listen()ing. Some invalid argument was supplied (for example, specifying an invalid level to the setsockopt() function). For instance, if the length of an argument which is a struct sockaddr is smaller than sizeof(struct sockaddr). This error occurs if an application passes an invalid pointer value, or if the length of the buffer is too small. The system detected an invalid pointer address in attempting to use a pointer argument of a call. An example is using a broadcast address for sendto() without broadcast permission being set using setsockopt(SO_BROADCAST). WSAEINTR (10004) Interrupted function call.Ī blocking operation was interrupted by a call to WSACancelBlockingCall().Īn attempt was made to access a socket in a way forbidden by its access permissions. Some error codes defined in WINSOCK2.H are not returned from any function - these have not been listed here. The following is a list of possible error codes returned by the WSAGetLastError() call, along with their extended explanations.Įrrors are listed in alphabetical order by error macro.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |