Does Erlang have global register process name?

钱晓明 <>
Thu Mar 11 03:34:38 CET 2010


Hi, I want to send text messages between two computers, and I use 'register'
BIF to register atom name for one computer. But I find that I can not send
message by this:
  pong ! hello.
I must use this :
  { pong,  } ! hello.
So the registered name is only used in one node ? Not in all nodes using
same cookies? The first method got 'bad argument' exception.
If I want to register a name for all nodes using same cookies, how can I do
it?

Thanks! I will appreciate if anyone can give some relative resource url to
me!


More information about the erlang-questions mailing list