Re: Checking for closed/broken connections

DINH Viet Hoa <[email protected]>
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Alwin a écrit :

> I've big problem with unstable network links and libetpan. Eg., how can I
> check if a connection is closed/broken when ein try to make a command?
>
> So, what is the best way to check the connection for sending a new command?
> may be, that I didn't see it in the documentation...

The other solution is to try to run the command and if this fails,
reconnect to the server.

-- 
DINH Viet Hoa



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.