Socket Server
constants.h
Go to the documentation of this file.
1 #ifndef __CONSTANTS_H__
2 #define __CONSTANTS_H__
3 #ifndef TRX_SOCKET_CONSTANTS
4 #define TRX_SOCKET_CONSTANTS 1
5 
8 const int SOCKET_ERROR = -1;
9 const int SOCKET_OK = 0;
13 const int WAIT_SOCKET_FAILURE = -1;
14 const int WAIT_SOCKET_SUCCESS = 0;
15 
16 #endif
17 #endif // __CONSTANTS_H__
WAIT_SOCKET_FAILURE
const int WAIT_SOCKET_FAILURE
Definition: constants.h:13
WAIT_SOCKET_SUCCESS
const int WAIT_SOCKET_SUCCESS
Definition: constants.h:14
SOCKET_ERROR
const int SOCKET_ERROR
Definition: constants.h:8
SOCKET_OK
const int SOCKET_OK
Definition: constants.h:9