Finding servers on network

I’ve seen in apps, where it finds available Appservers in the same network. For example, when launching LiveTime Tkmer app, it shows me a list of LiveTime servers that I can connect to on the same network.

How would I go about doing this? Surely, the app is not pinging .1-.255 at a specific port?! That seems excessive. Is there a more efficient way?

Thanks!

For a LAN it might be using something like Bonjour or similar (zero conf networking)
https://en.wikipedia.org/wiki/Bonjour_(software)

it uses bonjour discovering services
there is a bonjour test app in macoslib

Ah HA! Thanks everyone!

MBS Plugin has classes for MacOS, Windows and Linux.
And our Network Kit works for iOS.