summaryrefslogtreecommitdiff
path: root/Ivy/IvyClient.cs
diff options
context:
space:
mode:
authorfcolin2007-02-15 15:46:04 +0000
committerfcolin2007-02-15 15:46:04 +0000
commit9affbf6b9a20e5309426352851361fa4a9984f84 (patch)
tree1c7b5a7778c578ec78a24d83fd306cd23a02d1ed /Ivy/IvyClient.cs
parent5fc13f14ffc5c39d4848353c32dfc02f8f245824 (diff)
downloadivy-csharp-9affbf6b9a20e5309426352851361fa4a9984f84.zip
ivy-csharp-9affbf6b9a20e5309426352851361fa4a9984f84.tar.gz
ivy-csharp-9affbf6b9a20e5309426352851361fa4a9984f84.tar.bz2
ivy-csharp-9affbf6b9a20e5309426352851361fa4a9984f84.tar.xz
correction du pb avec KeepAlive
et emplacement lib getopt
Diffstat (limited to 'Ivy/IvyClient.cs')
-rw-r--r--Ivy/IvyClient.cs9
1 files changed, 8 insertions, 1 deletions
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 )