[omniORB] Forks, BOA, ports and persistence

Michel Vayssade Michel.Vayssade@utc.fr
Fri, 11 Jun 1999 09:39:00 +0200 (MET DST)


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 ?

--
  _/    _/ _/_/_/  _/_/ Michel.Vayssade@UTC.fr    Service Informatique
 _/    _/   _/  _/      T:33/0-3.44.23.49.24 Universite de Technologie
_/    _/   _/  _/       F:33/0-3.44.23.46.77 BP 20.529 60205 Compiegne
  _/_/    _/    _/_/  ____ mv@utc.fr _________________________France__