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