W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1997

Greetings and a question

From: Sami Lempinen <ssl@sci.fi>
Date: Tue, 11 Mar 1997 09:54:39 +0200 (EET)
Message-Id: <199703110754.JAA16406@sci.fi>
To: www-lib@w3.org
HELO spoken here,

I am new to the mailing list, so please excuse me if this is a lame question.

I have been experimenting with libwww with fairly good results. I have
a C++ class called Connection which basically takes care of retrieving 
a remote URL into a local file.

Now I want to attach a decent timeout handler to the implementation, for 
situations when the remote host cannot be connected, found etc. I tried
registering a member of the Connection class using its full signature 
as I would with Motif, i.e. &Connection::Timeout, but somehow it seems that
it never really gets called.

The program will be called as a CGI program, which means that I want to
make sure that there are no dangling connections & processes left if 
something goes wrong. What might be all the possible error situations that I
should cover?

Thanks a lot in advance,

Sami Lempinen
Received on Tuesday, 11 March 1997 02:56:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:47 UTC