receive output (wodSSH / wodSSH.NET)
Ganesh,
code is more/less ok, except don't use Sleep to block the thread since wodSSH is living in the same thread.
Rather, set wodSSH->put_Timeout(0) or to some really large value. This will cause wodSSH not to timeout by itself. However, your TCP connection could be broken by 3rd party (such as router, or the server) if there's no traffic for a long period of time.
If wodSSH doesn't timeout by itself, you don't need Sleep so remove it, and just leave Receive call(s) to obtain the data.
Hope this helps!
Kreso
Complete thread:
- receive output - ganesh sankpal, 2014-08-06, 16:44
- receive output - wodSupport, 2014-08-06, 19:58
- receive output - ganesh sankpal, 2014-08-07, 16:12
- receive output - wodSupport, 2014-08-07, 19:25
- receive output - Ganesh Sankpal, 2014-08-28, 10:51
- receive output - wodSupport, 2014-08-28, 15:22
- receive output - Ganesh Sankpal, 2014-09-02, 14:38
- receive output - wodSupport, 2014-09-02, 17:01
- receive output - Ganesh Sankpal, 2014-09-03, 08:34
- receive output - wodSupport, 2014-09-03, 09:49
- receive output - Ganesh Sankpal, 2014-09-03, 12:06
- receive output - wodSupport, 2014-09-03, 12:07
- receive output - Ganesh Sankpal, 2014-09-03, 13:04
- receive output - wodSupport, 2014-09-03, 13:49
- receive output - Ganesh Sankpal, 2014-11-12, 08:37
- receive output - Jasmine, 2014-11-12, 10:56
- receive output - Ganesh Sankpal, 2014-11-12, 14:33
- receive output - Jasmine, 2014-11-12, 16:33
- receive output - Ganesh Sankpal, 2014-11-13, 06:36
- receive output - Jasmine, 2014-11-13, 16:19
- receive output - Ganesh Sankpal, 2014-11-13, 06:36
- receive output - Jasmine, 2014-11-12, 16:33
- receive output - Ganesh Sankpal, 2014-11-12, 14:33
- receive output - Jasmine, 2014-11-12, 10:56
- receive output - Ganesh Sankpal, 2014-11-12, 08:37
- receive output - wodSupport, 2014-09-03, 13:49
- receive output - Ganesh Sankpal, 2014-09-03, 13:04
- receive output - wodSupport, 2014-09-03, 12:07
- receive output - Ganesh Sankpal, 2014-09-03, 12:06
- receive output - wodSupport, 2014-09-03, 09:49
- receive output - Ganesh Sankpal, 2014-09-03, 08:34
- receive output - wodSupport, 2014-09-02, 17:01
- receive output - Ganesh Sankpal, 2014-09-02, 14:38
- receive output - wodSupport, 2014-08-28, 15:22
- receive output - Ganesh Sankpal, 2014-08-28, 10:51
- receive output - wodSupport, 2014-08-07, 19:25
- receive output - ganesh sankpal, 2014-08-07, 16:12
- receive output - wodSupport, 2014-08-06, 19:58