I want to send url connection requests simultaneously to the same server using NSURLConnection class.
I'm trying to do it, but the second request do not start until the first one finishes.
How to solve this problem.
Home / DeveloperSection / Forums / How to send NSURLConnection requests simultaneously
I want to send url connection requests simultaneously to the same server using NSURLConnection class.
I'm trying to do it, but the second request do not start until the first one finishes.
How to solve this problem.
Tarun Kumar
20-Nov-2015If you want to sent request simultaneously to the same server using NSURLConnection, use this code:
when you will use this code, you need to start two threads to get the behavior you want.
(Your can also use Asynchronously version of NSURLConnection.)