I working on network discovery in iPhone application for showing all connected devices from local network(WIFI) . But it shows only DHCP server assigned IP address from my router with mac address. I get mac address from ARP table. Ex : My device IP : 192.168.0.XX, My gateway : 192.168.0.X, subnetmask : 255.255.252.0. I get IP address like as 192.168.0.XXX etc. But i want to show self-assigned IP address(default ip address is 169.254.XXX.XXX) by some device while device is newly connected in router. How can i show this kind of ip address from router?
Network Discovery for self-assigned IP address
Apple has since made low level socket access a priviledged call for certain tcp/ip functions.