Hi,
You can't do this in base App Inventor. You essentially want to build an ARP client (Address Resolution Protocol).
In Unix (Mac/Linux), you can use "netstat" to get a lot of this information.
You would need an extension for this, and unfortunately, I don't know of any that have been built that could do this.
Farzeen