Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-09-18 (19:29)
From: tim@f...
Subject: Re: [Caml-list] Client/Server socket communication

>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
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D  7180 76DF FE00 34B1 5C78 
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: