I need to check hundreds of URLs and use stream_socket_client to create sockets for each one and then stream_select to retrieve them and assess their response times etc...
However, after 237 created sockets I fail to create anymore sockets there is no error code or message indicating that the problem occur before "connect". I've tried running this against different servers and I get the same result so probably no throttling on their side.
Is there a max number of sockets that can be open at any time or what is going on here?