Receiving data

Top  Previous  Next

1. The TelnetSession#send and TelnetSession#sendWait methods both return all data that was received from the telnet server between the time the command was issued and the expected shell prompt was received.

 

2. All data received may be captured by enabling debugging using the TelnetSession#setDebug method. Debugging data is by default directed to System.out. You may redirect this data to another stream using the TelnetSession#setDebugStream method.





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC