fsockopen timeout
Posted: Tue Nov 18, 2014 4:37 pm
Query timeout isn't working for me.
Using v1.02 from github, line 439
fsockopen expects args 3 and 4 to be errno,errstr, and arg 5 to be the timeout.
I have modified my version locally and timeout seems to be working now.
Great library, such a time saver!
Using v1.02 from github, line 439
Code: Select all
if (!$socket=fsockopen($host,$this->port,$this->timeout))
I have modified my version locally and timeout seems to be working now.
Code: Select all
if (!$socket=fsockopen($host,$this->port,$errno,$errstr,$this->timeout))