commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pauwels Stefan <>
Subject RE: Comparing 2 lists via contents?
Date Tue, 09 Nov 2004 13:43:45 GMT

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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message