Constants

Previous  Next

 

' MyBASIC2_SockLib.bis - Includes for MyBASIC2_SockLib

 

CONST SL_USE_DEFAULT             = -1

 

' Windows Sockets definitions of regular Berkeley error constants

CONST WSAEWOULDBLOCK             = 10035

CONST WSAEINPROGRESS             = 10036

CONST WSAEALREADY                = 10037

CONST WSAENOTSOCK                = 10038

CONST WSAEDESTADDRREQ            = 10039

CONST WSAEMSGSIZE                = 10040

CONST WSAEPROTOTYPE              = 10041

CONST WSAENOPROTOOPT             = 10042

CONST WSAEPROTONOSUPPORT         = 10043

CONST WSAESOCKTNOSUPPORT         = 10044

CONST WSAEOPNOTSUPP              = 10045

CONST WSAEPFNOSUPPORT            = 10046

CONST WSAEAFNOSUPPORT            = 10047

CONST WSAEADDRINUSE              = 10048

CONST WSAEADDRNOTAVAIL           = 10049

CONST WSAENETDOWN                = 10050

CONST WSAENETUNREACH             = 10051

CONST WSAENETRESET               = 10052

CONST WSAECONNABORTED            = 10053

CONST WSAECONNRESET              = 10054

CONST WSAENOBUFS                 = 10055

CONST WSAEISCONN                 = 10056

CONST WSAENOTCONN                = 10057

CONST WSAESHUTDOWN               = 10058

CONST WSAETOOMANYREFS            = 10059

CONST WSAETIMEDOUT               = 10060

CONST WSAECONNREFUSED            = 10061

CONST WSAELOOP                   = 10062

CONST WSAENAMETOOLONG            = 10063

CONST WSAEHOSTDOWN               = 10064

CONST WSAEHOSTUNREACH            = 10065

CONST WSAENOTEMPTY               = 10066

CONST WSAEPROCLIM                = 10067

CONST WSAEUSERS                  = 10068

CONST WSAEDQUOT                  = 10069

CONST WSAESTALE                  = 10070

CONST WSAEREMOTE                 = 10071

 

' Extended Windows Sockets error constant definitions

CONST WSASYSNOTREADY             = 10091

CONST WSAVERNOTSUPPORTED         = 10092

CONST WSANOTINITIALISED          = 10093

CONST WSAEDISCON                 = 10101

CONST WSAENOMORE                 = 10102

CONST WSAECANCELLED              = 10103

CONST WSAEINVALIDPROCTABLE       = 10104

CONST WSAEINVALIDPROVIDER        = 10105

CONST WSAEPROVIDERFAILEDINIT     = 10106

CONST WSASYSCALLFAILURE          = 10107

CONST WSASERVICE_NOT_FOUND       = 10108

CONST WSATYPE_NOT_FOUND          = 10109

CONST WSA_E_NO_MORE              = 10110

CONST WSA_E_CANCELLED            = 10111

CONST WSAEREFUSED                = 10112