web service

October 19, 2012   ·   0 Comments

NSURL *xmlURL = [NSURL URLWithString:
                     @"http://www.powenko.com"];
    NSURLRequest *req = [NSURLRequest requestWithURL:xmlURL
                      cachePolicy:NSURLRequestReturnCacheDataElseLoad
                  timeoutInterval:30];

NSURLResponse *resp = nil;
NSData *data = [NSURLConnection sendSynchronousRequest:req
                                     returningResponse:&resp
    if (!data)
        return nil;
    NSLog(@"Received %ld bytes.", [data length]);
return nil;
shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
MAC139

MAC

Amazon

adsbygoogle

Recent Posts

Categories

Amazon