Is it possible to implement http connection for iPhone Development?

Discussion in 'iOS Programming' started by joyjit, Aug 8, 2008.

  1. joyjit macrumors newbie

    Joined:
    Aug 8, 2008
    #1
    Hi,
    Im a new to the iPhone development world...
    Is it possible to implement http connection for iPhone Development?

    If yes, please provide a sample code to implement http connection on iPhone...

    Thanks in advance...

    Have a nice day ahead... :)

    Regards
    Joyjit
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Certainly. You just need to establish a connection with the server using either BSD sockets or the CFNetwork API and then send the relevant commands as per the HTTP standard. In fact I think CFNetwork has some functions specifically designed for HTTP connections so that might make it considerably easier.

    The best bet is to read the CFNetwork documentation on the iPhone dev site.
     
  3. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000

Share This Page