TcpLib
Loading...
Searching...
No Matches
TcpErr.h
Go to the documentation of this file.
1#ifndef INC_TCPERR_H
2#define INC_TCPERR_H
42//-----------------------------------------------------------------------------
43namespace tcp
44{
45 //-----------------------------------------------------------------------------
75 enum ERRORS
76 {
77 //-------------------------------------------------------------------------
79 ERR_WSAEINTR = -10004,
80 //-------------------------------------------------------------------------
82 ERR_WSAEBADF = -10009,
83 //-------------------------------------------------------------------------
85 ERR_WSAEACCES = -10013,
86 //-------------------------------------------------------------------------
88 ERR_WSAEFAULT = -10014,
89 //-------------------------------------------------------------------------
91 ERR_WSAEINVAL = -10022,
92 //-------------------------------------------------------------------------
94 ERR_WSAEMFILE = -10024,
95 //-------------------------------------------------------------------------
98 //-------------------------------------------------------------------------
101 //-------------------------------------------------------------------------
104 //-------------------------------------------------------------------------
107 //-------------------------------------------------------------------------
110 //-------------------------------------------------------------------------
113 //-------------------------------------------------------------------------
116 //-------------------------------------------------------------------------
119 //-------------------------------------------------------------------------
122 //-------------------------------------------------------------------------
125 //-------------------------------------------------------------------------
128 //-------------------------------------------------------------------------
131 //-------------------------------------------------------------------------
134 //-------------------------------------------------------------------------
137 //-------------------------------------------------------------------------
140 //-------------------------------------------------------------------------
143 //-------------------------------------------------------------------------
146 //-------------------------------------------------------------------------
149 //-------------------------------------------------------------------------
152 //-------------------------------------------------------------------------
155 //-------------------------------------------------------------------------
158 //-------------------------------------------------------------------------
161 //-------------------------------------------------------------------------
164 //-------------------------------------------------------------------------
167 //-------------------------------------------------------------------------
170 //-------------------------------------------------------------------------
173 //-------------------------------------------------------------------------
176 //-------------------------------------------------------------------------
178 ERR_WSAELOOP = -10062,
179 //-------------------------------------------------------------------------
182 //-------------------------------------------------------------------------
185 //-------------------------------------------------------------------------
188 //-------------------------------------------------------------------------
191 //-------------------------------------------------------------------------
194 //-------------------------------------------------------------------------
197 //-------------------------------------------------------------------------
200 //-------------------------------------------------------------------------
203 //-------------------------------------------------------------------------
206 //-------------------------------------------------------------------------
209 //-------------------------------------------------------------------------
212 //-------------------------------------------------------------------------
217 //-------------------------------------------------------------------------
220 //-------------------------------------------------------------------------
223 //-------------------------------------------------------------------------
226 //-------------------------------------------------------------------------
237 //-------------------------------------------------------------------------
248 //-------------------------------------------------------------------------
259 //-------------------------------------------------------------------------
270 //-------------------------------------------------------------------------
281 //-------------------------------------------------------------------------
291 ERR_NO_PORT = -10106,
292 //-------------------------------------------------------------------------
303 //-------------------------------------------------------------------------
314 //-------------------------------------------------------------------------
325 //-------------------------------------------------------------------------
336 //-------------------------------------------------------------------------
347 //-------------------------------------------------------------------------
358 //-------------------------------------------------------------------------
360 ERR_FREE_1 = -10113,
361 //-------------------------------------------------------------------------
363 ERR_FREE_2 = -10114,
364 //-------------------------------------------------------------------------
375 //-------------------------------------------------------------------------
386 //-------------------------------------------------------------------------
388 ERR_FREE_3 = -10117,
389 //-------------------------------------------------------------------------
400 //-------------------------------------------------------------------------
411 //-------------------------------------------------------------------------
422 //-------------------------------------------------------------------------
432 ERR_TIME_OUT = -10121,
433 //-------------------------------------------------------------------------
444 //-------------------------------------------------------------------------
455 //-------------------------------------------------------------------------
465 ERR_UNKNOWN = -10200
466 };
467 //---------------------------------------------------------------------------
468} // namespace tcp
469//-----------------------------------------------------------------------------
470#endif
Definition TcpClient.h:55
ERRORS
Error range = -10001 to -10200
Definition TcpErr.h:76
@ ERR_WSAENOTCONN
Definition TcpErr.h:163
@ ERR_WSAEACCES
Definition TcpErr.h:85
@ ERR_WSAENETRESET
Definition TcpErr.h:148
@ ERR_WSAEDESTADDRREQ
Definition TcpErr.h:109
@ ERR_WSAVERNOTSUPPORTED
Definition TcpErr.h:211
@ ERR_WSAENOBUFS
Definition TcpErr.h:157
@ ERR_NO_PORT
Definition TcpErr.h:291
@ ERR_WSAEADDRNOTAVAIL
Definition TcpErr.h:139
@ ERR_WSAHOST_NOT_FOUND
Definition TcpErr.h:216
@ ERR_METHOD_FORBIDDEN
Definition TcpErr.h:443
@ ERR_WSAEBADF
Definition TcpErr.h:82
@ ERR_NO_TRANSMITTER
Definition TcpErr.h:374
@ ERR_WRONG_STREAMTYPE
Definition TcpErr.h:357
@ ERR_WSAENOPROTOOPT
Definition TcpErr.h:118
@ ERR_TIME_OUT
Definition TcpErr.h:432
@ ERR_WSAEHOSTUNREACH
Definition TcpErr.h:187
@ ERR_WSAEREMOTE
Definition TcpErr.h:205
@ ERR_WSAESTALE
Definition TcpErr.h:202
@ ERR_WSAEALREADY
Definition TcpErr.h:103
@ ERR_SOCKET_NOT_EXISTING
Definition TcpErr.h:258
@ ERR_WSATRY_AGAIN
Definition TcpErr.h:219
@ ERR_SOCKET_ALREADY_EXISTING
Definition TcpErr.h:247
@ ERR_WSAEMSGSIZE
Definition TcpErr.h:112
@ ERR_NO_RECEIVER
Definition TcpErr.h:385
@ ERR_WSAEHOSTDOWN
Definition TcpErr.h:184
@ ERR_WSAEPROTOTYPE
Definition TcpErr.h:115
@ ERR_WSAEPFNOSUPPORT
Definition TcpErr.h:130
@ ERR_WSAEWOULDBLOCK
Definition TcpErr.h:97
@ ERR_WSAEPROTONOSUPPORT
Definition TcpErr.h:121
@ ERR_WSAENAMETOOLONG
Definition TcpErr.h:181
@ ERR_NO_HOSTNAME
Definition TcpErr.h:269
@ ERR_FREE_1
Definition TcpErr.h:360
@ ERR_UNKNOWN
Definition TcpErr.h:465
@ ERR_NO_SERVER_MSG
Definition TcpErr.h:421
@ ERR_WSAEFAULT
Definition TcpErr.h:88
@ ERR_WSAESOCKTNOSUPPORT
Definition TcpErr.h:124
@ ERR_ALLREADY_CONNECTED
Definition TcpErr.h:302
@ ERR_WSAETIMEDOUT
Definition TcpErr.h:172
@ ERR_UNKNOWN_HOSTNAME
Definition TcpErr.h:280
@ ERR_WSAEUSERS
Definition TcpErr.h:196
@ ERR_WSAENETUNREACH
Definition TcpErr.h:145
@ ERR_WSAENOTEMPTY
Definition TcpErr.h:190
@ ERR_WSAENOTSOCK
Definition TcpErr.h:106
@ ERR_WSAEINTR
Definition TcpErr.h:79
@ ERR_WSAEINPROGRESS
Definition TcpErr.h:100
@ ERR_WSAEAFNOSUPPORT
Definition TcpErr.h:133
@ ERR_WSAEINVAL
Definition TcpErr.h:91
@ ERR_WSAECONNREFUSED
Definition TcpErr.h:175
@ ERR_NO_SOCKETINDEX
Definition TcpErr.h:346
@ ERR_WSAEDQUOT
Definition TcpErr.h:199
@ ERR_WSAECONNABORTED
Definition TcpErr.h:151
@ ERR_WSAESHUTDOWN
Definition TcpErr.h:166
@ ERR_WSASYSNOTREADY
Definition TcpErr.h:208
@ ERR_WSANOTINITIALISED
Definition TcpErr.h:214
@ ERR_WSAEMFILE
Definition TcpErr.h:94
@ ERR_WSAEPROCLIM
Definition TcpErr.h:193
@ ERR_WSANO_RECOVERY
Definition TcpErr.h:222
@ ERR_WSAETOOMANYREFS
Definition TcpErr.h:169
@ ERR_GETPEERNAME_FAILED
Definition TcpErr.h:454
@ ERR_FREE_2
Definition TcpErr.h:363
@ ERR_WSANO_DATA
Definition TcpErr.h:225
@ ERR_WSAENETDOWN
Definition TcpErr.h:142
@ ERR_WSAEADDRINUSE
Definition TcpErr.h:136
@ ERR_WSAEOPNOTSUPP
Definition TcpErr.h:127
@ ERR_WSAEISCONN
Definition TcpErr.h:160
@ ERR_WSAECONNRESET
Definition TcpErr.h:154
@ ERR_TO_MUCH_CLIENTS
Definition TcpErr.h:399
@ ERR_CONNECTION_BROKEN
Definition TcpErr.h:313
@ ERR_MAX_CLIENTS_TO_LOW
Definition TcpErr.h:335
@ ERR_FREE_3
Definition TcpErr.h:388
@ ERR_WSAELOOP
Definition TcpErr.h:178
@ ERR_NO_DATASIZE
Definition TcpErr.h:324
@ ERR_NO_CORRECT_STREAM_DATA
Definition TcpErr.h:410
@ ERR_PARAMETER_NULL_FORBIDDEN
Definition TcpErr.h:236