Bug 3921 - ioquake3 should use Zeroconf (Avahi/Bonjour) to advertise and discover local game servers
Status: RESOLVED WONTFIX
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: All All
: P3 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-12-29 23:47 EST by Jeremy Visser
Modified: 2008-12-30 06:53:08 EST
0 users

See Also:



Description Jeremy Visser 2008-12-29 23:47:26 EST
Zeroconf (powered by Avahi/Bonjour) is increasingly becoming the de facto standard for network service publishing and discovery. With all major Linux distributions shipping with Avahi, Mac OS X shipping with Bonjour since v10.3 (in 10.3 it was called Rendezvous), and Bonjour for Windows available, support for Zeroconf is far and wide.

Because ioquake3 is moving to support more generic libraries, such as OpenAL, SDL, etc., it would make sense to move to Avahi and Bonjour for local game server discovery, rather than Quake 3's custom discovery.

Quake 3's custom discovery has a disadvantage in that it only works across the current subnet. If the PC can send traffic to another subnet (via a router), the user can directly connect to another game via the IP address, but it cannot discover the game automatically.

However, if Avahi/Bonjour are configured to publish to a centralised DNS-SD server, local game servers from other subnets can be discovered. (Not 100% if Avahi has this implemented yet, but Bonjour should be able to do it.)

I am not sure about Bonjour, but Avahi is generally accessed via D-Bus. Implementing Avahi would add a dependency on D-Bus, but D-Bus does not need to be accessed directly -- Avahi provides a C API to wrap around the D-Bus interface.
Comment 1 Zachary J. Slater 2008-12-30 00:33:50 EST
Sorry, no. I'm not interested in replacing the current mechanism. Also, d-bus looks to be mostly a Linux thing, even if it works on other platforms as well. Which is completely unacceptable.
Comment 2 Jeremy Visser 2008-12-30 06:53:08 EST
Okay. Thanks for considering. :)