[erlang-questions] Possible hostname handling bug in node handshake procedure?
Wed Nov 25 00:20:43 CET 2009
Maas-Maarten Zeeman wrote:
> ()1> net_adm:ping().
> **long wait**
> ()2> net_adm:ping().
> In both situations the network packets arrive at To me it looks
> like there is a case sensitivity problem with the hostname handling in
> the handshake procedure.
Remember, though: What you're passing to ping() is not a host name, it's
a /node/ name. A node name is an erlang atom and is therefore case
sensitive. It's certainly derived from a hostname, and might seem at
first like it should be case insensitive as a result, but as Bengt noted
that would mean implying atom equality where they're not actually equal.
More information about the erlang-questions