Login  
Search All Forums
Dart Home | PowerTCP Winsock for ActiveX | Custom Development Reply | PowerTCP Winsock for ActiveX Topics | Forums   
AuthorForum: PowerTCP Winsock for ActiveX
Topic: daemon, checking for client disconnect?
User631

Posts: 4
Member Since: 07/12/01
posted August 4, 2004 5:26 PM

How can I check from the daemon server whether a client is still connected or not?

I tried using the .state property, but it always returns tcpConnected. This is after I manually unplugged the client machine from the network to simulate a connection drop. All timeouts are set to 0.

Is there a way to do this?

Thanks
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 4, 2004 5:43 PM

You need enable keepalive in TCP-IP stack, then set tcp.keepalive to true.

Here is a link to an article that describes enabling KeepAlive:

http://www.winguides.com/registry/display.php/891
Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX