![]() The following list describes the possible error codes returned by the WSAGetLastError function. The FormatMessage function can be used to obtain the message string for the returned error.įor information on how to handle error codes when porting socket applications to Winsock, see Error Codes - errno, h_errno and WSAGetLastError. ![]() These error codes and a short text description associated with an error code are defined in the Winerror.h header file. When a particular Windows Sockets function indicates an error has occurred, this function should be called immediately to retrieve the extended error code for the failing function call. The WSAGetLastError function returns the last error that occurred for the calling thread. For information, see the Handling Winsock Errors topic. Most Windows Sockets 2 functions do not return the specific cause of an error when the function returns.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |