I'm building various patches using networked computers and need to find a way to grab the IP addresses and host names of all the machines connected to the network.
The network is a private wireless LAN running from a cheap router, and will have a maximum of 12 machines connected to it. It doesn't function as an internet gateway at the moment and there aren't any plans to do this.
Ideally I need to find a way to populate a uMenu object with a list of the IP address assigned to each computer along with the name of the computer. My patches need to be able to send data to specified computers on the network (which have different roles), and it would be nice to be able to switch between them easily. At the moment I'm having to hardcode IP address onto both network interfaces and into the patches. It would be much nicer to have IP address allocation handled by the DHCP server and just grab the data from there (set-up time would be substantially reduced).
I'm aware that this can be done using standalone network sniffing software, but I'm not sure how this data could be easily transferred to Max and I'd definitely rather not have to install sniffing software on everyone's machine prior to using the patch.
I'm no network expert so there may be some obvious solution staring me in the face - any pointers gratefully received!