/*
* Copyright 1995, 1996 Perforce Software. All rights reserved.
*
* This file is part of Perforce - the FAST SCM System.
*/
// Socket errors for NT
const char *nt_sock_errlist[] = // for WSABASEERR + 1 to 115,
{
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"WSAEINTR", //4
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"WSAEBADF", //9
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"WSAEACCES", //13
"WSAEFAULT", //14
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"WSAEINVAL", //22
"NO_ERROR",
"WSAEMFILE", //24
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"WSAEWOULDBLOCK", //35
"WSAEINPROGRESS", //36
"WSAEALREADY", //37
"WSAENOTSOCK", //38
"WSAEDESTADDRREQ", //39
"WSAEMSGSIZE", //40
"WSAEPROTOTYPE", //41
"WSAENOPROTOOPT", //42
"WSAEPROTONOSUPPORT", //43
"WSAESOCKTNOSUPPORT", //44
"WSAEOPNOTSUPP", //45
"WSAEPFNOSUPPORT", //46
"WSAEAFNOSUPPORT", //47
"WSAEADDRINUSE", //48
"WSAEADDRNOTAVAIL", //49
"WSAENETDOWN", //50
"WSAENETUNREACH", //51
"WSAENETRESET", //52
"WSAECONNABORTED", //53
"WSAECONNRESET", //54
"WSAENOBUFS", //55
"WSAEISCONN", //56
"WSAENOTCONN", //57
"WSAESHUTDOWN", //58
"WSAETOOMANYREFS", //59
"WSAETIMEDOUT", //60
"WSAECONNREFUSED", //61
"WSAELOOP", //62
"WSAENAMETOOLONG", //63
"WSAEHOSTDOWN", //64
"WSAEHOSTUNREACH", //65
"WSAENOTEMPTY", //66
"WSAEPROCLIM", //67
"WSAEUSERS", //68
"WSAEDQUOT", //69
"WSAESTALE", //70
"WSAEREMOTE", //71
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"WSASYSNOTREADY", //91
"WSAVERNOTSUPPORTED", //92
"WSANOTINITIALISED", //93
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"NO_ERROR",
"WSAEDISCON", //101
"WSAENOMORE", //102
"WSAECANCELLED", //103
"WSAEINVALIDPROCTABLE", //104
"WSAEINVALIDPROVIDER", //105
"WSAEPROVIDERFAILEDINIT", //106
"WSASYSCALLFAILURE", //107
"WSASERVICE_NOT_FOUND", //108
"WSATYPE_NOT_FOUND", //109
"WSA_E_NO_MORE", //110
"WSA_E_CANCELLED", //111
"WSAEREFUSED" //112
};
const char *nt_sock_errlist2[] = // for WSABASEERR + 1000 to 1005
{
"WSAHOST_NOT_FOUND",
"WSATRY_AGAIN",
"WSANO_RECOVERY",
"WSANO_DATA"
};