laziness, impatience, and hubris | |
PerlMonks |
Multi-process Win32 HTTP Daemonby rfoskett (Initiate) |
on Apr 29, 2006 at 23:58 UTC ( [id://546534]=perlquestion: print w/replies, xml ) | Need Help?? |
rfoskett has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm trying to get a multiprocess win32 http daemon working however seem to be having problems in getting the response back from the server. The eventual aim of this is to have a prespawning SOAP server that can expose OLE APIs to nonwindows platforms. I dont want to use the obvious choice of fork as activeperl currently creates threads behind the scene and so want to avoid any potential threadsafe issues with the OLE classes. Anyway, ive adapted the below code from this old article http://www.webtechniques.com/archives/2000/03/junk/When starting the daemon, then running individual client requests - the inherited Win32 process correctly gets the request send by the client however is not able to send back the response. Any thoughts on how to fix this (or ideas on a better approach) would be appreciated. ThanksRoger daemon.pl serverx.pl SDaemon.pm client.pl
Back to
Seekers of Perl Wisdom
|
|