Transaction of data using WIFI in iPhone to other phones


I am an iOS developer, I need to transfer datas from iPhone to other phones via wifi and vice versa in my new application . Is it possible in iOS ? . Is there any sample code in Objective C for this?

I have made a Cydia tweak which does just this.