- make masterserver wait for 3 seconds before spawning connectivity test
This commit is contained in:
parent
2e4c911711
commit
2dc0d97f55
|
@ -101,6 +101,7 @@
|
|||
}
|
||||
else // this game server is not listed in the database, yet
|
||||
{ // check whether this game server is available from the Internet; if it is, add it to the database
|
||||
sleep(3);
|
||||
$socket = socket_create( AF_INET, SOCK_STREAM, SOL_TCP );
|
||||
if ( $socket < 0 ) {
|
||||
echo 'socket_create() failed.' . PHP_EOL . ' Reason: ' . socket_strerror( $socket ) . PHP_EOL;
|
||||
|
|
Loading…
Reference in New Issue