Still learning! Erlang Question

Vlad Dumitrescu <>
Sat May 20 22:38:42 CEST 2006


Hi,

does your client sent the requests to New? It happened to me too many
times to talk to the wrong process :-)

Also you probably want to do
                                       New = spawn_link(?MODULE,
handler, [Pid]),
                                       Pid ! {test_server, {ok, New}},
                                       loop([{User, Password}|Users],
N + 1)  % <<<---

regards,
Vlad

On 5/20/06, Jeff Crane <> wrote:
> I'm using a ton of debugging trying to keep track of
> where there are problems, as I slowly grow my app. I'm
> stumped as to why my Handler/1 always seems to output
> my debug messages, then jump back to loop/2



More information about the erlang-questions mailing list