there are two tools, wifi and wifi-direct WifiANE can open WIfi,close Wifi ,openWiFiAp ,Close Wifi ap, get Wifi State etc... WifiDirectANE can let you device connect with other device by wifi-direct . in ane. i provide some function like : Look up near device , connect device ,createWifiGroup etc...
When you connected with others . you can use ServerSocket or socket to share you data. just like my demo.
finnaly . this is a bad english article. hope you can understand it and enjoy this utils.