caravan v1.0.0 Caravan.Epmd

Shared logic for determining the Erlang distribution port from the node name.

Link to this section Summary

Functions

Returns the Erlang Distribution port based on a node name

Link to this section Functions

Link to this function dist_port(name)

Returns the Erlang Distribution port based on a node name.

Examples

iex> Caravan.Epmd.dist_port(:"app-name3434@example.net")
3434

iex> Caravan.Epmd.dist_port(:"app-name-4834@example.net")
4834