Network discovery with ionic

Hi,

I’m looking for a way to discover all devices connected to a wifi network and get their DHCP hostname (option 12)
http://www.networksorcery.com/enp/protocol/bootp/option012.htm
or access them directly by DHCP hostname (without DNS). A lot of network scanner application return this information but I can’t find any cordova plugin doing this.

Otherwise, what is the usual way to perform network discovery with mobile app?

Thanks in advance if anyone have any experience in this.