diff options
author | fcolin | 2007-02-15 15:46:04 +0000 |
---|---|---|
committer | fcolin | 2007-02-15 15:46:04 +0000 |
commit | 9affbf6b9a20e5309426352851361fa4a9984f84 (patch) | |
tree | 1c7b5a7778c578ec78a24d83fd306cd23a02d1ed /Ivy/IvyClient.cs | |
parent | 5fc13f14ffc5c39d4848353c32dfc02f8f245824 (diff) | |
download | ivy-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.cs | 9 |
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 )
|