| Dart Home | PowerTCP Emulation for .NET | Custom Development | Reply | PowerTCP Emulation for .NET Topics | Forums |
| Author | Forum: PowerTCP Emulation for .NET Topic: An Existing connection was forcibly closed by host |
| bobm bmodrich@gmail.com From: Murrieta, CA USA Posts: 30 Member Since: 01/13/04 |
posted January 17, 2004 3:15 PM Due to the limitation of data base licenses I will sometimes get a message box appearing stating "An Existing connection was forcibly closed by host" when running emulation tool. My question if where can I handle this error at. After I click Ok button, I get a .net unhandled error dialog message. I want to handle this case. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 17, 2004 4:05 PM Let's discuss this when you call in. I'm not really sure and there are some things I need to check at the office |
| mattwisner From: Irving, TX USA Posts: 3 Member Since: 06/25/04 |
posted June 25, 2004 7:42 PM I'm having this same problem and could not find any more info about this topic so I'm reopening this thread. I've got everything working (even by reference and adding my event handlers). Telnet.Connect() works and everything looks good until I logoff. Now from my socket programming days I know a little about what's going on here: 1) I'm ready to end my session so I enter "logoff" 2) my telnet client (Vt.Telnet) sends "logoff" to the server without knowing it's meaning 3) the server, however, sees "logoff" and says "make it so" and closes the socket connection 4) any good socket client knows that when a network receive, recv(), returns 0 that the connection was closed by the other side and the socket handle is stale. How do I detect a recv() = 0 so I can close the telnet connection? TIA, Matt |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 28, 2004 8:44 AM This appears to be a duplicate post. I'll answer in the thread you started. |
| Reply | PowerTCP Emulation for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|