[erlang-questions] receiving pang from net_adm:ping/1 even though net_adm:names/0 shows the other node
Dennis Byrne
dennisbyrne@REDACTED
Sun Apr 19 16:46:19 CEST 2009
Never had problem with this before but this is the first time I've
used a Mac. Here's the info:
>From console A ...
$ erl -sname foo -setcookie c
(foo@REDACTED)1>
>From console B ...
$ erl -name bar -setcookie c
(bar@REDACTED)1>
>From console C ...
$ /usr/local/lib/erlang/erts-5.6.4/bin/epmd -names
epmd: up and running on port 4369 with data:
name bar at port 51292
name foo at port 51290
>From Console B ...
(bar@REDACTED)1> net_adm:ping(bar@REDACTED).
pong
(bar@REDACTED)2> net_adm:ping(foo@REDACTED).
pang
(bar@REDACTED)3> net_adm:names().
{ok,[{"foo",51290},{"bar",51292}]}
Note that the pang is received after the cursor hangs for a few
seconds. The cursor does not hang when I type
net_adm:ping(foo@REDACTED).
--
Dennis Byrne
More information about the erlang-questions
mailing list