CatapultServer  v0.5.0.1 (Elephant)
SocketOperationCode.h File Reference
Include dependency graph for SocketOperationCode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::ionet
 

Macros

#define SOCKET_OPERATION_CODE_LIST
 
#define ENUM_VALUE(LABEL)   LABEL,
 

Enumerations

enum  catapult::ionet::SocketOperationCode { catapult::ionet::SocketOperationCode::SOCKET_OPERATION_CODE_LIST }
 Enumeration of socket operation results. More...
 

Functions

std::ostream & catapult::ionet::operator<< (std::ostream &out, SocketOperationCode value)
 Insertion operator for outputting value to out. More...
 

Macro Definition Documentation

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL)    LABEL,

◆ SOCKET_OPERATION_CODE_LIST

#define SOCKET_OPERATION_CODE_LIST
Value:
/* Socket operation succeeded. */ \
ENUM_VALUE(Success) \
\
/* Socket was closed. */ \
ENUM_VALUE(Closed) \
\
/* Socket produced a read error. */ \
ENUM_VALUE(Read_Error) \
\
/* Socket produced a write error. */ \
ENUM_VALUE(Write_Error) \
\
/* Socket produced malformed data. */ \
ENUM_VALUE(Malformed_Data) \
\
/* Socket produced a security error. */ \
ENUM_VALUE(Security_Error) \
\
/* Socket operation completed due to insufficient data. */ \
ENUM_VALUE(Insufficient_Data)