- make masterserver wait for 3 seconds before spawning connectivity test

This commit is contained in:
mnaumann 2011-02-04 00:02:59 +00:00
parent 2e4c911711
commit 2dc0d97f55
1 changed files with 1 additions and 0 deletions

View File

@ -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;