Network Discovery

Does anyone know how to perform a network discovery (broadcast) to identify a specific server? I have an Angular project and want to create an Android/iOS app as well as a WIN-Electron Application, both of which require this functionality.

Thank you.