Handle more Winsock error codes.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -169,6 +169,9 @@ struct tl
|
||||
};
|
||||
|
||||
static const struct tl errmap[] = {
|
||||
{WSA_INVALID_HANDLE, "WSA_INVALID_HANDLE", EBADF},
|
||||
{WSA_NOT_ENOUGH_MEMORY, "WSA_NOT_ENOUGH_MEMORY", ENOMEM},
|
||||
{WSA_INVALID_PARAMETER, "WSA_INVALID_PARAMETER", EINVAL},
|
||||
{WSAEINTR, "WSAEINTR", EINTR},
|
||||
{WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EWOULDBLOCK},
|
||||
{WSAEINPROGRESS, "WSAEINPROGRESS", EINPROGRESS},
|
||||
|
Reference in New Issue
Block a user