wodSSH in a thread? (General questions)
Is it possible for TwodSSHCom or TwodSSH to be used from within a thread? Things had been working well, untill we attempted to use the WaitFor method, which seems to exhibit some odd behaviour when the component is created in and owned by a thread.
If the component actually matches the pattern to its received data then all is well, but if it can't find it in the received data then it seems to block indefinately (in a single threaded application it eventually throws an exception when the timeout is exceeded).
We're developing under Borland C++ Builder 6 and the owning thread is derived from the TThread class.
David Lucas
Data Track Technology
Re: wodSSH in a thread?
David,
you seem to use threads correctly, so I am unsure why it fails in WaitFor method. Would it be possible to zip sample BCB project (and EXE) and send it over to techsupport@weonlydo.com, I'd like to see this in debug mode.
Thanks.