- bugfix for running on Windows based (winsock) servers

This commit is contained in:
Mark Vejvoda 2010-09-27 04:37:13 +00:00
parent d3ccebef15
commit 6d7cc4c7d7

View File

@ -99,7 +99,7 @@
for ( ; !@socket_connect( $socket, $remote_ip, $service_port ); )
{
$socket_last_error = socket_last_error( $socket );
if ( $socket_last_error == 115 || $socket_last_error == 114 )
if ( $socket_last_error == 115 || $socket_last_error == 114 || $socket_last_error == 10035)
{
if ( ( time() - $time ) >= $timeout )
{