I am writing some network discovery code but had a general networking question. Using a Mac app like iNet gives me the name of iPhones, iPads and Macs even when they don't have a NetBIOS name, are not registered in DNS, and are not broadcasting any Bonjour services. I am trying to figure out how they get the actual device name without resorting to any of these. Is there another way to get a device name they could be using? Of course sometimes the name is found using Bonjour or NetBIOS. However, iNet and a few other network discovery apps often are able to discover the names even when these aren't available.