[omniORB] Forks, BOA, ports and persistence

Nick Brook ncb@adaptivebroadband.com
Fri, 11 Jun 1999 10:23:36 +0100


Michel Vayssade wrote:
> 
> On Thu, 10 Jun 1999, Nick Brook wrote:
> > associated with that object. In fact I can kill ALL the parents /
> > grandparents / etc. leaving only the children and STILL all these ports
> > are LISTENing. But there's no process around that could be doing the
> > LISTENing, unless the child process is somehow listening all every port
> > that has ever been used by a BOA. Weird.
> 
> when a process is LISTENing, there is a descriptor open on the socket
> when the process forks, the child heritates all descriptors
> the child must close the descriptor associated with the initial
> parent's socket
> isn't ?
> 

Thanks Michel, 

Any idea how I close down the descriptor in the child? I've tried
shutdown on the boa but that doesn't work.

Nick