inet_tcp_dist v0.1.1 EAPMD.MDNS

This is a Proof of Concept. Using InetTcp_dist you can create your own discovery module!

This is a simple MDNS implementation focused on node discovery. It implements the default EPMD callbacks and a new introduced callback which is address_and_port_please/1. This new callback is used by the InetTcp_dist module.

It sends and receives MDNS queries and stores discovered nodes in its state.

Summary

Functions

address_and_port_please(name)
handle_node(record, node)
handle_request(ip, record, state)
handle_response(ip, record, state)
names(hostname)
nodes()
port_please(name, ip)
query(namespace \\ "_epmd._tcp.local")
register_node(name, port, atom)
set_ip(ip)
start_link()