| Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
| Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Tcp.ConnectedChanged - Disconnect |
| jonmalda From: burlington, ON USA Posts: 13 Member Since: 10/01/03 |
posted March 19, 2004 9:06 AM Hi Tony: Just a quick question for you. On the Tcp.ConnectedChanged event (server side) I am logging when the tcp connection has been disconnected. Is there any way I can tell whether the Server side, or Client side forced the disconnect? Thanks, Jon |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted March 19, 2004 9:46 AM You'd have to set a flag everywhere in your program that you call close. If you get a ConnectedChanged and the flag is not set then the other side did it. |
| jonmalda From: burlington, ON USA Posts: 13 Member Since: 10/01/03 |
posted March 19, 2004 10:02 AM Thanks Tony - I know I could handle it that way... was just curious if there was anything internal in the Tcp Dart object that I could use instead. Thanks for you help. Jon |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|