[comp.protocols.iso.dev-environ] Forking under ACSE

wheeler@mbunix.mitre.org (Wheeler) (09/14/90)

     I have a server running that uses iserver_wait to wait for association
indications.  Upon receiving one, the server forks and spawns a process
to deal with the association.  What I want to do is close down and recycle
the file descriptor in the original server process (so that it can be reused
without waiting for the child server process to exit).  However, all the 
methods that I have found to close down the association signal the remote
end of the association of the termination.  I want something akin to an
iserver_close call which would simply close the file descriptor and stop
listening for activity on it.

What I can't do:
     TNetClose closes the file descriptor that is listening for connections,
effectively shutting down the server.

     TDiscRequest closes the remote end, as does AcUAbortRequest.

     I can't just close the fd, because the next call to iserver_wait will
fail trying to listen for activity on that address.



     Anyone have any ideas?  

Thanks in advance.
--
     Brien L. Wheeler
     wheeler@mbunix.mitre.org

"When I think back on all the crap I learned in high school..."