News for hackers. Stuff that matters.
Re:Linux /dev/urandom and concurrency by nubs on Friday April 18, 2014 @08:57PM (#7612103)
Slightly off topic, but I wanted to clear this up:

> The guy uses PHP and instead of built-in HTTPRequest he uses curl to make a request

HTTPRequest is not built-in to PHP. It is a PECL extension that is usually installed separately from PHP.

Curl is more built-in to PHP - it's a PHP compile-time flag, and it is distributed with PHP source.

Re:Linux /dev/urandom and concurrency by acqq on Friday April 18, 2014 @09:22PM (#7612163)
So the best approach for the given problem (just send the request, fetch the response, without too much overhead) seems to be using something a bit lower level:

http://at2.php.net/stream_socket_client