UDP Discovery Done Right (Not as Easy as you think)

Device/Skill discovery test application is discovering services from multiple servers, desktops, laptops, and VMs.

Seems like a simple thing right? You want to do a UDP Broadcast to find devices/services on the network and then display them in an elegant list, right? Whereas it isn’t exactly an immensely difficult problem, knowing the right formula from the start is a must. There are other pre-canned discovery services out there, Bonjour, for example, but I really wanted to make my own just so that I could understand what all the fuss was about. Why do my friggen Chromecasts sometimes have a hard time appearing on the network? As simple as the problem seems, there are a few “gotchas” and other things to consider, however I was able to find a 100% working solution. Maybe you will find these advice points useful.


Continue reading “UDP Discovery Done Right (Not as Easy as you think)”