summaryrefslogtreecommitdiff
path: root/Ivy/IvyClient.cs
diff options
context:
space:
mode:
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 )