Still learning! Erlang Question

Jeff Crane jefcrane@REDACTED
Sun May 21 19:35:37 CEST 2006


That was it! I was sending to the wrong process from
the Hanlder. Whoopsie.

--- Vlad Dumitrescu <vladdu55@REDACTED> wrote:

> 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 <jefcrane@REDACTED> 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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the erlang-questions mailing list