G
Guest
Hello Developers,
I have developed Server and Client applications that are communicating by
TCP/IP sockets. My application is developed on Visual C++ .NET Standard v2003
Windows Forms. When one of the program is closed unintensionally, other is
automatically trying to re-connect. But, whenever one of PC is turned off
hardly from ShutDown button or unplugging electric cable, I cannot detect the
loss of communication. If I send a command from working application to closed
application, I can detect loss of communication. I setted my sockets'
SO_KEEPALIVE = 1 and linger ON.
I am requesting your help.
Thank you very much in advance
--
~~~~~~~~~~~~~~~~~~~
İyi Çalışmalar
Alper AKÇAYÖZ (Bil Muh)
Wish You Good Work
Alper AKCAYOZ (Bil Muh)
I have developed Server and Client applications that are communicating by
TCP/IP sockets. My application is developed on Visual C++ .NET Standard v2003
Windows Forms. When one of the program is closed unintensionally, other is
automatically trying to re-connect. But, whenever one of PC is turned off
hardly from ShutDown button or unplugging electric cable, I cannot detect the
loss of communication. If I send a command from working application to closed
application, I can detect loss of communication. I setted my sockets'
SO_KEEPALIVE = 1 and linger ON.
I am requesting your help.
Thank you very much in advance
--
~~~~~~~~~~~~~~~~~~~
İyi Çalışmalar
Alper AKÇAYÖZ (Bil Muh)
Wish You Good Work
Alper AKCAYOZ (Bil Muh)