Re: SSH connection issue - WeOnlyDo Discussion board

Re: SSH connection issue (General questions)

by wodSupport, Thursday, October 18, 2007, 02:53 (6045 days ago) @ enaiman

Enaiman,

I can try to help, even I'm not sure what programming language you're using.

When your app closes, wodTelnetLDX dies too. It cannot survive it. However, it lives in same thread as your app, so Sleep API call doesn't help - because you put same thread to sleep where wodTelnetDLX lives.. Can you change that Sleep API more to look like the message pump (GetMessage...TranslateMessage..DispatchMessage..)?

Is your app window based? Or console based? Does it have its own window? Do you need GUI at all? If you don't need GUI, you could use wodTelnetDLXCom instead, and then simply set Blocking property to True in which case you wouldn't even need Sleep/pump.

Kreso


Complete thread: