|
From: | Ed Watkeys |
Subject: | Re: [Chicken-users] process-fork weirdness |
Date: | Wed, 16 Mar 2005 21:22:01 -0500 |
Ruhi,If the client tries to connect and the server isn't listening, the connect -- and write -- will fail. Neither version is correct; the second one just happens to work. You need to send some sort of message -- a signal? -- from the server process to let the main program know that it may begin connecting. You should do this after TCP-LISTEN but before TCP-ACCEPT, which blocks.
Ed
[Prev in Thread] | Current Thread | [Next in Thread] |