http://www.perlmonks.org?node_id=871932


in reply to fork and HTTP::Daemon freezes on windows

Whats wrong with my code?

Probably nothing on systems that have native fork.

Does perl's fork not support sockets?

You are probably aware that fork on windows is emulated using threads. You should also be aware that it is a very poor emulation. The simple answer is don't use it.

The more complicated answer is: spend hours days and weeks trying to understand where it is falling short, then realise that there is probably nothing you (or anyone?) can do to correct it; and stop using it.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.