[erlang-questions] receiving pang from net_adm:ping/1 even though net_adm:names/0 shows the other node

Dennis Byrne <>
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
()1>

>From console B ...

$ erl -name bar -setcookie c
()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 ...

()1> net_adm:ping().
pong
()2> net_adm:ping().
pang
()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().

-- 
Dennis Byrne



More information about the erlang-questions mailing list