How to make a broadcast ask for every kind of device ip?

I need to send and get information like, to all pcs conected to the network and get back all of their Ips for me to know wich one of them is sending me the information i need... i looked for something on restSharp but nothing appeared... does anyone knows how to do this?

Posts

  • CheesebaronCheesebaron DKInsider, University mod

    To get all computers connected to the network you can make a lookup in the ARP table. In Linux, which Android uses this is located in /proc/net/arp. This is a file you can open and parse the contents of. However, while this does get you all the PC's on the network, it does not give you the PC's that send the info you need. You will need to ask them about it afterwards.

Sign In or Register to comment.