warner/foolscap — pull request #5 by public (2011-11-11 12:18:25+00:00)
Title: Zeroconf hint and Avahi support

This adds a "zeroconf" token to the hint list. Might want to consider changing that since it's also a valid hostname?

It uses _foolscap-rpc._tcp for the mDNS-SD service name, which is technically invalid as it needs registering on dns-sd.org.

I'm also not entirely sure how the reconnect system works so it might stop doing the avahi discovery permanently after it gets connected. This should be pretty easy to fix just by toggling the discovery_enabled var back on at the right moment though.

Not expecting this to get pulled yet, but thought you might have some pointers to tidy it up :)