in reply to forking() flocking() on sockets
This message thread might have some information that would be useful to you.