[erlang-questions] JInterface and node discovery
Thu Dec 14 23:38:29 CET 2006
Mats Cronqvist <> wrote:
>Per Hedeland wrote:
>> Mats Cronqvist <> wrote:
>>> is it just me or is the erlang version significantly shorter? :>
>> There is an even shorter one though:
> using undocumented functions is cheating...
> but seriously, thanks for the pointer.
>p.s. why is it undocumented?
I could venture a guess that it's because you're not "supposed to" use
epmd "directly" - there's no particular reason to assume that you have
any business trying to talk to other nodes that happen to be running on
the same (or any particular) host, nor that the nodes that you *have*
some business trying to talk to *are* running on the same (or...) host.
The essential purpose of epmd is to provide the listen port number for a
given node (), and that information is collected (and used)
under the cover for you by the interfaces that *are* documented.
More information about the erlang-questions