there is a way to make a fsockopen with unlimited timeout ? Like CURLOPT_TIMEOUT=0 ?
Use the $timeout parameter.
$timeout
It's right there in the manual: http://php.net/fsockopen