[asterisk-commits] may: branch 1.8 r308098 - /branches/1.8/addons/ooh323c/src/ooSocket.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 16 01:57:28 CST 2011
Author: may
Date: Wed Feb 16 01:57:22 2011
New Revision: 308098
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308098
Log:
ifdef __linux__ keepalive variables also
Modified:
branches/1.8/addons/ooh323c/src/ooSocket.c
Modified: branches/1.8/addons/ooh323c/src/ooSocket.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323c/src/ooSocket.c?view=diff&rev=308098&r1=308097&r2=308098
==============================================================================
--- branches/1.8/addons/ooh323c/src/ooSocket.c (original)
+++ branches/1.8/addons/ooh323c/src/ooSocket.c Wed Feb 16 01:57:22 2011
@@ -191,7 +191,9 @@
int ooSocketCreate (OOSOCKET* psocket)
{
int on;
+#ifdef __linux__
int keepalive = 1, keepcnt = 24, keepidle = 120, keepintvl = 30;
+#endif
struct linger linger;
OOSOCKET sock = socket (AF_INET,
SOCK_STREAM,
More information about the asterisk-commits
mailing list