mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 09:54:26 +02:00
- bugfix for running on Windows based (winsock) servers
This commit is contained in:
@@ -99,7 +99,7 @@
|
|||||||
for ( ; !@socket_connect( $socket, $remote_ip, $service_port ); )
|
for ( ; !@socket_connect( $socket, $remote_ip, $service_port ); )
|
||||||
{
|
{
|
||||||
$socket_last_error = socket_last_error( $socket );
|
$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 )
|
if ( ( time() - $time ) >= $timeout )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user