[erlang-questions] Does Erlang have global register process name?

Bob Ippolito <>
Thu Mar 11 03:49:21 CET 2010


On Wed, Mar 10, 2010 at 6:34 PM, 钱晓明 <> wrote:
> 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