#pragma once

#define NET_SUCCESS       0
#define NET_ERROR         -1

#define NET_TIME_TICK     20000   /* 20000 usec */

#define NET_SOCK_BLOCK    0
#define NET_SOCK_NONBLOCK 1

#define NET_SOCK_LOOP_OFF 0
#define NET_SOCK_LOOP_ON  1