diff options
author | lsalzman <[email protected]> | 2013-09-27 09:42:37 +0300 |
---|---|---|
committer | lsalzman <[email protected]> | 2013-09-27 09:42:37 +0300 |
commit | 2c5dd69b176f1a3089bc10affc0c65d7fcbbab07 (patch) | |
tree | 47d6f53e20b651ee1cdf14c2b46312ccb376f0b6 /include | |
parent | bc8019aa15a1e9357d9246369e2c3db658f06085 (diff) | |
download | enet-2c5dd69b176f1a3089bc10affc0c65d7fcbbab07.tar.gz enet-2c5dd69b176f1a3089bc10affc0c65d7fcbbab07.zip |
fix RCVTIMEO and SNDTIMEO options on unix and also add NODELAY
Diffstat (limited to 'include')
-rw-r--r-- | include/enet/enet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h index 162b0f8..c690e42 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -61,7 +61,8 @@ typedef enum _ENetSocketOption ENET_SOCKOPT_REUSEADDR = 5, ENET_SOCKOPT_RCVTIMEO = 6, ENET_SOCKOPT_SNDTIMEO = 7, - ENET_SOCKOPT_ERROR = 8 + ENET_SOCKOPT_ERROR = 8, + ENET_SOCKOPT_NODELAY = 9 } ENetSocketOption; typedef enum _ENetSocketShutdown |