Browse thread
[Caml-list] Client/Server socket communication
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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 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