
What I want: a (open-source, OS-portable) way to advertise my game on a local LAN, so local players can play with each other easily ("Zeroconf networking"). It looks like MDNS/DNS-SD is the most sensible choice; but it needs (or greatly benefits from) interfacing with whatever the system is running (e.g. Avahi on Linux, and I guess Bonjour on Mac, and I'm not sure quite how people manage to use it on Windows). My current networking is based on Boost.Asio, which I'm pretty happy with as a socket library (yay! finally learning how to use sockets!). Does this MDNS/DNS-SD need support from Boost.Asio, or else what's a good way to go about using it? Maybe to use Bonjour's interface because Avahi apparently implements a compatibility layer for that? (P.S. Although the actually-asynchronous IO was a little confusing. With my Haskell background, I eventually realized that many of the examples were highly obfuscated versions of lambda functions (continuations) defined within other functions, because C++ doesn't yet support such things.) -Isaac