Find other devices' ip through UDP broadcast.
First run server on device A and B:
$ ip-discovery -s
Listening UDP at 0.0.0.0:25615
Then find A and B on device C:
$ ip-discovery
192.168.1.7
192.168.2.3
Help:
$ ip-discovery --help
-exec string
server response command output when received broadcast
-k string
secret key (no crypter if leave empty)
-p int
server port (default 25615)
-s server mode
-t int
timeout(ms) (default 1000)
go install github.com/urie96/ip-discovery@latest