[erlang-questions] Longnames vs. shortnames (yet again)

PAILLEAU Eric eric.pailleau@REDACTED
Sun Feb 14 11:57:51 CET 2016


Le 13/02/2016 22:02, Matwey V. Kornilov a écrit :
> Hello,
>
> When I should use longnames and when I should use shortnames?
>
> net_kernel:create_hostpart/2 allows me to understand the difference in
> behavior, but I can't understand what is the purpose to have both
> longnames and shortnames. I suppose that there are different use-cases
> for longnames and shortnames. Unfortunately, Erlang documentation lacks
> clear explanation here.
Hi,
erl manual is clear on this point for -sname :
" This  is  sometimes the only way to run distributed Erlang if the DNS 
(Domain Name System) is not running. "

regards




More information about the erlang-questions mailing list