in reply to Reconnecting to a specific child of a forking server

In the HTTP world, it was deemed better to save the state of the child rather than ensuring the same child was used again. This is done using sessions. This may not work for you, but you should at least have a look at it since a lot of (reusable) work was but into it.
  • Comment on Re: Reconnecting to a specific child of a forking server

Replies are listed 'Best First'.
Re^2: Reconnecting to a specific child of a forking server
by Zed_Lopez (Chaplain) on Aug 16, 2004 at 18:51 UTC

    My inspiration in this is to save the overhead of saving/restoring state. (It's actually something a CGI script is going to be connecting to.)

    That would be the simpler tack, though, and perhaps worth doing.