Basic Android Client/Server Library for finding a Local Network Server IP throught auto-discovery
WifiManager wifiManager = (WifiManager)getApplicationContext().getSystemService(Context.WIFI_SERVICE);
ArrayList<DiscoveryServerInfo> ret = Client.findServer(wifiManager, "MYAPP_TOKEN");
it.nicmaxdev.discovery.Server("NICOLA", 123456, "MYAPP_TOKEN");
http://code.google.com/p/boxeeremote/wiki/AndroidUDP for getBroadcastAddress() function
Have fun!