Why you want to reinvent the wheel? I'm sure there is a cross-platform
robust and stable solution for your headache. The solution names Apache +
mod_perl.
I'd guess that you know what Apache can do. And now imagine that you are
able to modify/replace/extend the standard behavior of Apache by your own
Perl code. Every stage of the HTTP request coming from client can be hooked
by your script:
PerlChildInitHandler (requires apache_1.3b3 or higher)
PerlPostReadRequestHandler (requires apache_1.3b3 or higher)
PerlInitHandler
PerlTransHandler
PerlHeaderParserHandler
PerlAccessHandler
PerlAuthenHandler
PerlAuthzHandler
PerlTypeHandler
PerlFixupHandler
PerlHandler
PerlLogHandler
PerlCleanupHandler
PerlChildExitHandler (requires apache_1.3b3 or higher)
Start at: http://perl.apache.org/
By the way I'm using Apache + mod_perl on Windows2K machine successfully.
-- Petr Smejkal
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web