From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id DAA12985; Thu, 19 Sep 2002 03:52:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id DAA13145 for ; Thu, 19 Sep 2002 03:52:24 +0200 (MET DST) Received: from grover.msi.co.jp ([192.51.53.141]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8J1qM128407 for ; Thu, 19 Sep 2002 03:52:23 +0200 (MET DST) Received: from localhost [127.0.0.1] (ikeda) by grover.msi.co.jp with esmtp (Exim 3.12 #1 (Debian)) id 17rqUO-00025K-00; Thu, 19 Sep 2002 10:52:20 +0900 To: caml-list@inria.fr Subject: Re: [Caml-list] Client/Server socket communication In-Reply-To: <20020918192934.92D177F65@lobus.fungible.com> References: <20020918031351.4EC427F4F@lobus.fungible.com> <20020918130400I.ikeda@msi.co.jp> <20020918192934.92D177F65@lobus.fungible.com> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020919105219Y.ikeda@msi.co.jp> Date: Thu, 19 Sep 2002 10:52:19 +0900 From: IKEDA Katsumi X-Dispatcher: imput version 990905(IM130) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, From: tim@fungible.com (Tim Freeman) Message-ID: <20020918192934.92D177F65@lobus.fungible.com> > > >I try this solution. > >But 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. Mr. John also teach me same solution. Now, my program works well. Thanks. -- IKEDA Katsumi ------------------- 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