[erlang-questions] nodes not visible until net_adm:world()

Claes Wikström klacke@REDACTED
Tue Oct 2 20:22:57 CEST 2007


Richard Andrews wrote:

> 
> Is this behaviour expected; and if so can someone explain what the proper
> mechanism is to start the node so epmd facilities are available?
> 

Node to node connections are on-demand, thus not until you
actively try to spawn/send to a remote node is connection
established. Hence originally nodes() == [], and then if you do

{foo, name@REDACTED} ! whatever

will a connection to name@REDACTED be established and if all
is well, nodes() == [name@REDACTED]

/klacke




More information about the erlang-questions mailing list