You could take a look at service discovery using Avahi: -
discovery for a network of linux devices
-
29-05-2022 - |
题
I have a set of identical, custom linux devices plugged into a network and assigned addresses via DHCP. These need to be able to automatically discover each other. What's the most appropriate way of doing this?
解决方案
其他提示
You could implement Upnp protocol on your devices. It'll do what you ask for and more. Using a tested protocol is better than creating a new one.
不隶属于 StackOverflow