You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
netpong/includes/exception_consts.hpp

13 lines
356 B
C++

#ifndef EXCEPTION_CONSTS_H
#define EXCEPTION_CONSTS_H
static const int EXCEPT_CONNREFUSED = 10;
static const int EXCEPT_TOOFEWARGS = 15;
static const int EXCEPT_INVALIDARGS = 20;
static const int EXCEPT_ADDRNOTAVAIL = 25;
static const int EXCEPT_INVALIDIP = 30;
static const int EXCEPT_GENSOCKERR = 35;
static const int EXCEPT_WRONGRESPONSE = 40;
#endif