From 6d7cc4c7d7587de4f991ab1ec2856967903f3104 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Mon, 27 Sep 2010 04:37:13 +0000 Subject: [PATCH] - bugfix for running on Windows based (winsock) servers --- source/masterserver/addServerInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/masterserver/addServerInfo.php b/source/masterserver/addServerInfo.php index 73493cd11..ed6444c56 100644 --- a/source/masterserver/addServerInfo.php +++ b/source/masterserver/addServerInfo.php @@ -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 ) {