newby questions

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Mon Nov 29 21:57:10 CET 2004


Hi,

> In a first shell, i launch epmd
>
> D:\erl5.4.2.1\erts-5.4.2.1\bin>epmd -d -d
> and in a second shell, the following command seen working sometimes
> but always without a new node.
> D:\erl5.4.2.1\erts-5.4.2.1\bin>erl -sname ping
> Eshell V5.4.2.1  (abort with ^G)
> 1>nodes(known).
> [nonode@REDACTED]

If you have two nodes up, they don't get to know about each other unless 
told so. One way is to do in one of them
erl -sname a
erl -sname b

(a@REDACTED)1> net_adm:ping(b@REDACTED).     <--- this!
(a@REDACTED)1> nodes().
[b@REDACTED]

regards,
Vlad 



More information about the erlang-questions mailing list