44
45
success, ok := <-pinger.C
46
47
log.Printf("Successfull ping reply from game %s.", game.Name())
48
50
host.SendPacket("GAME_OPEN")
52
60
log.Printf("Failed ping reply from game %s.", game.Name())
55
63
host.SendPacket("ERROR", "GAME_OPEN", "GAME_TIMEOUT")
61
73
time.Sleep(server.GamePingTimeout())