commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pauwels Stefan <Stefan.Pauw...@siemens.com>
Subject RE: Comparing 2 lists via contents?
Date Tue, 09 Nov 2004 13:43:45 GMT
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message