in reply to about read HTTP header.

I'm just wondering why you're going to all the trouble instead of using LWP, which does all this timing out and parsing for you?

-- Randal L. Schwartz, Perl hacker