Bonjour Browser doesn't parse all messages


In function BuildServices(Message m) in BonjourService.cs, filtering only the services whose name matched the first DomainName results in skipping of important messages.
There is likely a good reason for the filtering, but for me it was causing the Network.ZeroConf.IService parameter of the BonjourServiceResolver.ServiceFound callback to omit the IP address of the service I was interested in. Removing the filter and iterating through all of the services fixed this problem for me:
line 254 of BonjourService.cs:
                foreach (Service s in services) //.Where(s => a.DomainName[0] == s.Name))
What is the purpose of this filter?
Closed Dec 29, 2013 at 9:12 AM by neonp
No news for the issue owner


neonp wrote Oct 20, 2009 at 8:41 AM

I am filtering on the name of the service because if there are many services declared on the same computer, we will have only one service merged with all the others, and therefore, have inconsistency in services. What happens when you comment this line and have itunes running (or any other program declaring bonjour services) ?

neonp wrote Oct 21, 2009 at 4:10 PM

I guess you have an example of dns query omitted by this filter. Could please contact me or start a discussion so that we can discuss about it ?