xbmc/xbmc — pull request #611 by CrystalP (2012-01-06 03:36:25+00:00)
Title: [WIN] speed up detection of a missing/stopped Bonjour service

Current code takes about 10 seconds to fail, because the dnssd library tries many times to connect to the service.
This takes 1-2 seconds, much nicer when toggling the Zeroconf setting in the GUI, because there is no feedback that something is happening. Also delays startup much less if service is not running.

The tcp port is a well-known port used on OSX as well.

I think I didn't change the current code behavior, but ignoring the return value of DNSServiceProcessResult seems strange.