Hello,

I use the TelnetClient to create a telnet session to some host.
TelnetClient connection = new TelnetClient (host);

But I have a problem:
When the connection goes down for some reason: e.g. cable broke, ...
Nothing is reported, even if you check it with:

connection.isConnected(); //->reports always true

How can I properly check if the connection is still active,
Before I send some commands on it ?


Thanks for your help.
Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to