<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You'd better post the code - perhaps your spawns don't do what you</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
think they do, or some<br>
process has died, or something. The code should not block so if it<br>
does something else is wrong.<br>
Difficult to say without peering at the code.</blockquote><div><br></div><div>Nothing secret with my code. Here it is.</div><div>- tws.erl is the main gen_server listeing for incoming connections.</div><div>- echo.erl only echo back what it gets</div>
<div><br></div><div>To build, simply:</div><div><br></div><div>$ make</div><div>$ ./start.sh</div><div>1> echo:start().</div><div>2> echo:stop().</div><div><br></div><div>Regards</div><div>Zabrane</div></div>