Huan He wrote:
>
> 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 ?
>
I had this problem too when I had more than 1 ThreadsPerChild,
set this to 1 and you should be fine.
-- Joshua
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051