[erlang-bugs] Erlang doesn't connect with "short" long names

Shinji Ikari maggio.vincenzo@REDACTED
Thu Jul 28 22:07:32 CEST 2011


Hello,
the problem, on my laptop (Win XP SP3, OTP/R14B3), can be simply replicated with starting two nodes with "short" long names and try to connect them:

    c:\> erl -name a@REDACTED
    (a@REDACTED)1>

and

    c:\> erl -name b@REDACTED
    (b@REDACTED)1>net_adm:ping(a@REDACTED).
    pang
    (b@REDACTED)2>nodes().
    []      -----> as expected after a 'pang'!

So Erlang doesn't seem to connect this way. But if you simply:

    c:\> erl -name a@REDACTED

    (a@REDACTED)1>

    c:\> erl -name b@REDACTED


    (b@REDACTED)1>net_adm:ping(a@REDACTED).
    pong
    (b@REDACTED)1>nodes().
    [a@REDACTED]    -----------> as expected after a 'pong'!


Really, no clue here, I've also checked standard rules for domain names: there is an upper limit (63 characters) but no lower limit, AFAIK.

Thanks in advance!

Vincent
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110728/532f5649/attachment.htm>


More information about the erlang-bugs mailing list