2006/11/09

More mDNS madness, this time Qt4.

Ok, so after my last post about mDNS I haven't touched it since the API really put me off. But wanting a sexy mDNS browser in my newly founded Qt4 client I took a bite in the bad Apple and started to write a C++ wrapper class for mDNS (bonjour). After reliving all the madness of before I managed to do a pretty neat class. It works just fine on MacOSX (where bonjour is default), Linux (with avahi-dnssd-compat) and probably Windows too (if you download and install the lib from Apple).

If you ever need the code, go here: implementation and header.

Here is the result: Esperanza server browser window.