I need to connect two android devices using wifi. One device is a server, which sends certain commands to second device. My question is how can I get IP address of the server from the client device? Using of some external wifi network is possible. Android.net.wifi.p2p is not acceptable for me, because it's only supported since API level 14.
UPDATE: is it possible to scan current wifi network to look for connected devices? F.e., in my case client scans its network, finds server and connects to it.