Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Activeperl 5.6 fork() doesn't friggin work

by tachyon (Chancellor)
on Apr 18, 2002 at 00:45 UTC ( [id://160062]=note: print w/replies, xml ) Need Help??


in reply to Activeperl 5.6 fork() doesn't friggin work

fork() is flaky on Win32 in my experience but you can get it to do some things. For a start I would try setting autoflush with a $|++ Also from the docs:

NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE As of VERSION 1.18 all IO::Socket objects have autoflush turned o +n by default. This was not the case with earlier releases. NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE

If you have working code on Linux it could be related to an outdated version of IO::Socket on the Windows box. merlyn will have a column on this and I know he has written a number of client/server apps. Check out his home node.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://160062]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2025-04-30 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.