2012-04-14, 13:45:27
(This post was last modified: 2012-04-14, 13:47:10 by Velocity2k.)
Out of the bot source code:
30 seconds timeout -> You have lost the connection 10 seconds before the lobby countdown finished / 5 seconds before the countdown started.
Code:
// check for socket timeouts
// if we don't receive anything from a player for 30 seconds we can assume they've dropped
// this works because in the lobby we send pings every 5 seconds and expect a response to each one
// and in the game the Warcraft 3 client sends keepalives frequently (at least once per second it looks like)
30 seconds timeout -> You have lost the connection 10 seconds before the lobby countdown finished / 5 seconds before the countdown started.