Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Client/Server socket communication
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: IKEDA Katsumi <ikeda@m...>
Subject: Re: [Caml-list] Client/Server socket communication
Hi,

From: tim@fungible.com (Tim Freeman)
Message-ID: <20020918192934.92D177F65@lobus.fungible.com>
> 
> >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.

Mr. John also teach me same solution.

Now, my program works well.

Thanks.

-- 
IKEDA Katsumi  <ikeda@msi.co.jp>
-------------------
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