You should look at ZeroConf as a general way of conveying this information. It is also known as Bonjour (formerly Rendezvous) on Apple systems, but this is not an Apple-specific thing - many other devices (both embedded and OS) broadcast / use it.
There are many libraries that can work with ZeroConf in many languages ββ- finding one of them is a question of Googling. Keep in mind that ZeroConf itself is part of the ad / process detection and identifies the machine and socket, but then you can do whatever you want through the sockets (s) that you identify.
For example, Apache mod_zeroconf allows you to translate Apache sites. Your decision will depend on which licensing and use rights you depend on.
source
share