[Mono-list] Mono.Zeroconf Problem: Only first entry firing OnServiceAdded event

parkerjm parkerjm at gmail.com
Tue Jul 29 17:22:30 EDT 2008


I am writing a pair of broadcaster and listener programs using the
Mono.Zeroconf library. I found that only the first device my listener finds
shows up. If I have three instances of my broadcaster running, I will only
see one in my list, and when I close the one it shows, it will show one of
the others, but never more than one at a time.

If I put some notification, such as a MessageBox, in the OnServiceAdded
event method, it only shows up once, even if there are multiple broadcasters
running. I am thinking that the event is only getting fired for the first
one added, and the rest are ignored?

I am using the libraries that I compiled from the SVN repo that were said to
be stable by the main developer.

The zeroconf parts of my listener program:
http://pastebin.com/f4cc1e781

Written in Windows on the .NET platform.

Thanks for all your help,
James
-- 
View this message in context: http://www.nabble.com/Mono.Zeroconf-Problem%3A-Only-first-entry-firing-OnServiceAdded-event-tp18720561p18720561.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list