how to programmatically start 3g connection on iphone?
do I need to use socket api?
You can't programatically start a 3g connection.
You app should be aware of the network status whether it be EDGE, 3g or WiFi.