I have been trying get my head around this for last few weeks now.
All i want to do is be able to send a string created on the iphone/ipad and send that to a specific ip address and port number. That ip address will then return 'something' and i want to display a message back on the iphone/ipad.
I have tried using sample projects i came across , but can never get the damn thing to work. I fear i am making this alot harder than it needs to be - but some help would really be appreciated.
Thanks
Sam
user NSURLConnection class, you can find referenece at http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSURLConnection_Class/Reference/Reference.html
An NSURLConnection object provides support to perform the loading of a URL request. The interface for NSURLConnection is sparse, providing only the controls to start and cancel asynchronous loads of a URL request.
NSURLConnection’s delegate methods allow an object to receive informational callbacks about the asynchronous load of a URL request. Other delegate methods provide facilities that allow the delegate to customize the process of performing an asynchronous URL load.