In your .h header file
@interface ###
{
NSMutableData *fileData;
NSURLConnection *connectionInProgress;
}
(more...)
@interface ###
{
NSMutableData *fileData;
NSURLConnection *connectionInProgress;
}
(more...)
This code is based on Shivan Raptor’s answer at http://stackoverflow.com/questions/7072989/iphone-ipad-how-to-get-my-ip-address-programmatically (more…)
This guide is based on the excellent Ray Wenderlick guide
This is based on using the AsyncUdpSocket library.
NSURL *url = [NSURL URLWithString:@"http://www.mydomain.com/some_folder/movie.mov"];
//or
NSString *urlAddress = @"http://www.google.com";
NSURL *url = [NSURL URLWithString:urlAddress];