$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Isaac Dupree (isaacdupree_at_[hidden])
Date: 2008-08-03 07:42:48
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