From 5018dcf2071de5b483d3f452730ee44b0a3248a5 Mon Sep 17 00:00:00 2001 From: eihrul Date: Sat, 18 Feb 2012 10:31:56 +0000 Subject: added support for setting tcp send/receive timeouts --- include/enet/enet.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/enet/enet.h b/include/enet/enet.h index d73655f..14f9382 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -50,7 +50,9 @@ typedef enum _ENetSocketOption ENET_SOCKOPT_BROADCAST = 2, ENET_SOCKOPT_RCVBUF = 3, ENET_SOCKOPT_SNDBUF = 4, - ENET_SOCKOPT_REUSEADDR = 5 + ENET_SOCKOPT_REUSEADDR = 5, + ENET_SOCKOPT_RCVTIMEO = 6, + ENET_SOCKOPT_SNDTIMEO = 7 } ENetSocketOption; enum -- cgit v1.2.3