2006/08/14

mDNS madness

I have spent the weekend trying to get my head around Apples implementation of mDNS. In my efforts I have concluded two things:

  1. The code-monkey at Apple that created the API was probably high on LSD
  2. I needed to create a wrapper as soon as possible to get away from the madness.
The result is GLib mDNS Wrapper 0.1. Download it here: http://exodus.xmms.se/~tru/gmdns/

This will allow you to integrate the DNS-SD API into GMainLoop and give you a somewhat more understandable API. It will only do browsing for now. Maybe I add more features in the future, maybe not.

Maybe this will save some frustration for someone in the future.