Hi,
Straight to the point. I'm confused by forking!
I have a while loop:
while ($new_sock = $sock->accept()) {
# HERE I WOULD LIKE TO FORK
#Do lots of stuff
}
I can get it to fork, but the processes just stay open, even though they have reached the end of the while loop.
What's the best way of forking at that point?
Considered: etcshadow "do we still hate one-word titles"
Unconsidered by castaway: Keep/Edit/Delete: 11/22/0 - not a useful consideration