Data Structures | Macros
socket_event.h File Reference

Socket event definitions. More...

Data Structures

struct  vtm_socket_event
 

Macros

#define VTM_SOCK_EVT_READ   1
 
#define VTM_SOCK_EVT_WRITE   2
 
#define VTM_SOCK_EVT_CLOSED   4
 
#define VTM_SOCK_EVT_ERROR   8
 

Macro Definition Documentation

#define VTM_SOCK_EVT_READ   1

socket is available for read operation

#define VTM_SOCK_EVT_WRITE   2

socket is available for write operation

#define VTM_SOCK_EVT_CLOSED   4

socket is closed

#define VTM_SOCK_EVT_ERROR   8

socket is in error state