What is the most appropriate method for accessing a HTTP server?

Discussion in 'iOS Programming' started by pflau, Oct 8, 2010.

  1. pflau macrumors 6502

    Joined:
    Sep 17, 2007
    #1
    Hi. I need to hit a HTTP server for a response. That is, I would send a URL "http://www.mydomain.com/abc.php?a=b&c=d" and get back a text data stream. What is the "best practice" method? I can of course always just open a TCP socket to port 80, send the URL, and wait for the response. But I think there might be framework in iOS that already does that. Thanks.
     

Share This Page