ICE
TCP/IP Products => TCP-PRO => Topic started by: jmabbott on July 06, 2005, 08:06:44 am
-
Dejavu OCX - 5.1.25
Visual C++ .Net - 7.1.3088
Application - MFC, Dialog Based, COM mode (not .NET)
I just created a new application using code duplicated from a previous (VC++ 6) application. The first connection to "HOST++ssh" after starting the application works properly. The session is ended by typing exit. The second connection attempt always returns "new Telnet failed." after a time out. Any further connection attempts don't even ask for a user name and password. Each shutting down and restarting of the application gives one successful connection. TelnetPro on the same PC does many connections as expected. Any ideas why the application has to be restarted to do a second connect?
-
Ah yes, that is an unfortunate side effect of implementing the SSH Putty code in Telnet Pro. The program always crashed whever attempting a second SSH connection in the same program window, even in succession. We solved the problem by simply opening a new window and closing the old window when another SSH connection is attempted. Since SSH connection through the OCX was not explicitly implemented (it works merely by happenstance), this issue wasn't anticipated for the OCX.
Jim