Quickest way for Http-post?

I have been using curl and curl_multi, but it takes about 500ms between each query.
I am sending for example https://www.apidomain.com/user=test&pass=test

It then should return an output of successful or unsuccessful.

How can I do this to run the url in a loop of 10 iterations, without curl, but with the speed of a millisecond or less?

Thanks!

Is apidomain.com hosted on the same server, or in the same datacenter, as your script? If not, you’ll very likely struggle to get under a millisecond response time. Just to get an idea, run ping and see how long that takes.

Different server
Ping time was 13.6 max. rrt

Thread continues here: http://www.sitepoint.com/forums/showthread.php?p=4766995#post4766995

This thread is now closed.