From 9affbf6b9a20e5309426352851361fa4a9984f84 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 15 Feb 2007 15:46:04 +0000 Subject: correction du pb avec KeepAlive et emplacement lib getopt --- Ivy/IvyClient.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Ivy/IvyClient.cs') diff --git a/Ivy/IvyClient.cs b/Ivy/IvyClient.cs index 3db9f0f..63dc77e 100644 --- a/Ivy/IvyClient.cs +++ b/Ivy/IvyClient.cs @@ -110,7 +110,14 @@ namespace IvyBus remotePort = endpoint.Port; #if (!PocketPC ) - socket.SetSocketOption( SocketOptionLevel.Tcp, SocketOptionName.KeepAlive, 1 ); + // try to position Keep Alive + //try + //{ + // socket.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.KeepAlive, 1); + //} + //catch (SocketException) + //{ + //} #endif if ( bus.ProtocolVersion == 4 ) -- cgit v1.1