From: tim@fungible.com (Tim Freeman)
To: ikeda@msi.co.jp
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Client/Server socket communication
Date: Wed, 18 Sep 2002 12:27:01 -0700 [thread overview]
Message-ID: <20020918192934.92D177F65@lobus.fungible.com> (raw)
In-Reply-To: <20020918130400I.ikeda@msi.co.jp> (message from IKEDA Katsumi on Wed, 18 Sep 2002 13:04:00 +0900)
>I try this solution.
>But <defunct> is occurred.
>Do I misunderstand your advice?
At the place you printed "server parent side", you should have saved
the pid that came back from fork and done a wait on it. The call to
wait should be something like
Unix.waitpid [] pid
where pid is the process id that came back from forking the temporary parent.
--
Tim Freeman
tim@fungible.com
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-09-18 19:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 2:51 IKEDA Katsumi
2002-09-18 3:07 ` Tim Freeman
2002-09-18 4:04 ` IKEDA Katsumi
2002-09-18 19:27 ` Tim Freeman [this message]
2002-09-19 1:52 ` IKEDA Katsumi
2002-09-18 8:23 ` Alessandro Baretta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020918192934.92D177F65@lobus.fungible.com \
--to=tim@fungible.com \
--cc=caml-list@inria.fr \
--cc=ikeda@msi.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).