There *was* a bug after all - there was a patch by Kazuya Sakakihara
on the errata list for the book.
I missed this since I when I retested the version I distributed it
seemed to work
(very strange). I've now fixed the code and the changes should make it
into the next
printing of the book.
The corrected versions of code/socket_dist/chat_client.erl and
code/socket_dist/chat_group.erl are attached to this mail.
I hope they are correct now.
Sorry for all the confusion.
/Joe
On 8/7/07, Dmitrii 'Mamut' Dimandt <
dmitriid@...> wrote:
> Joe Armstrong wrote:
> > Strange, there is a report of an error (and a patch) on the book's errata page
> > but I have not been able to reproduce the error.
> >
> > I don't think there ever was a broken version on the prag site - you
> > might having forgotten
> > to do a make or have some weird paths setup. The command
> > "code:clash()" will report
> > any irregularities in your code loading paths.
> >
> >
> funny thing is that I've started getting the same "protocol error" from
> lib_chan_mm right after I wrote that everything worked ok :) I haven't
> had time to investigate the problem, though... I'll write as son as I
> can lay my habds on the code...
>
_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions