inet_tcp_dist v0.1.1 InetTcp_dist
This module replaces the standard :inet_tcp_dist
from Erlang and introduces a new function call
to replace DNS lookups for Erlang Distribution. The EPMD module is required to have this function
implemented. It is not checked during compilation since the callback is done dynamically.
The EPMD module needs to implement address_and_port_please(node)
. It should give a tuple
containing IP and port like this: {ip, port}
.
Most callbacks of this module fall back on Erlang’s :inet_tcp_dist
. For the ones it doesn’t it
has an equal implementation.
It only supports :shortnames
currently, which makes sense since we’re not using DNS.