constants.h 269 B

123456789101112
  1. #ifndef __CONSTANTS_H__
  2. #define __CONSTANTS_H__
  3. #ifndef TRX_SOCKET_CONSTANTS
  4. #define TRX_SOCKET_CONSTANTS 1
  5. const int SOCKET_ERROR = -1;
  6. const int SOCKET_OK = 0;
  7. const int WAIT_SOCKET_FAILURE = -1;
  8. const int WAIT_SOCKET_SUCCESS = 0;
  9. #endif
  10. #endif // __CONSTANTS_H__