practical professional programming

Bonjour / ZeroConf in Erlang

Here is the beginnings of a Bonjour / ZeroConf module in Erlang. I always like to ZeroConf all my servers I write so I don’t have to play the xml/properties/ini file game with how a server or clients connect to each other. All my previous Python and Java servers have used bindings to a C library to work their magic, I want to create a native Erlang module since I am trying to ween myself off Python/Twisted and onto Erlang for good. And I want to do it in a way that doesn’t require ports or linked-in libraries, I want a native Erlang solution.

in one console window do a zeroconf:start you should start seeing traffic spewing out onto the console to issue queries for iTunes for example