If you are forking a child process you'll need look at Unix domain sockets.
Kiel R Stirling
In reply to Re: Fork Sharing Globals by kielstirling in thread Fork Sharing Globals by Anonymous Monk