Article View: comp.protocols.iso.dev-environ
Article #268Forking under ACSE
From: Wheeler
Date: Thu, 13 Sep 1990 18:38
Date: Thu, 13 Sep 1990 18:38
30 lines
1642 bytes
1642 bytes
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..."
Technical Details
Message-ID:
<120024@linus.mitre.org>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!agate!linus!linus!mbunix!wheelerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!agate!linus!linus!mbunix!wheeler From: wheeler@mbunix.mitre.org (Wheeler) Newsgroups: comp.protocols.iso.dev-environ Subject: Forking under ACSE Message-ID: <120024@linus.mitre.org> Date: 13 Sep 90 18:38:48 GMT Sender: usenet@linus.mitre.org Reply-To: wheeler@ulana.UUCP (Brien L. Wheeler) Followup-To: comp.protocols.iso.dev-environ Organization: The MITRE Corporation, Bedford MA Lines: 30