added QSE_NWIO_KEEPALIVE and QSE_NWIO_REUSEADDR

This commit is contained in:
2012-05-03 12:57:58 +00:00
parent efdb33cd30
commit 5943d9d190
6 changed files with 32 additions and 7 deletions

View File

@ -127,6 +127,8 @@ enum qse_fio_mode_t
typedef unsigned long qse_fio_hnd_t;
#elif defined(__DOS__)
typedef int qse_fio_hnd_t;
#elif defined(vms) || defined(__vms)
typedef void* qse_fio_hnd_t; /* struct FAB* */
#else
typedef int qse_fio_hnd_t;
#endif

View File

@ -41,6 +41,8 @@ enum qse_nwio_flag_t
QSE_NWIO_TCP = (1 << 9),
QSE_NWIO_UDP = (1 << 10),
QSE_NWIO_REUSEADDR = (1 << 12),
QSE_NWIO_KEEPALIVE = (1 << 13),
/** do not reread if read has been interrupted */
QSE_NWIO_READNORETRY = (1 << 14),
/** do not rewrite if write has been interrupted */