using socket on NT's mod-perl

2000-01-25 Thread Huan He


Hello All,

Does anyone ever write a TCP socket program in mod-perl module on NT ?
In my program, I use socket in phase PerlAccessHandler to connect
to a remote socket server, the socket in mod-perl can be opened and
connected, but when I try to write message to the remote server, the
server socket always receives null. 

But if I use the same section code of mod-perl in a normal standalone
perl program, it works fine. Does anyone know why ?

Thanks,
Huan



question about PerlChildInitHandler & PerlChildExitHandler

2000-01-20 Thread Huan He

Hello,

Are there some similar directives for the threads on NT ? 
The problem I run into is on UNIX, I open sockets during PerlChildInitHandler 
and close the sockets during PerlChildInitHandler phase, but when I try to
port my code to NT platform, I don't know how to do it. Does anyone know any
documents or web sites I can refer to regarding NT mod_perl environment ?

Thanks,
Huan