NetworkTimeout

From TTWiki
Revision as of 14:33, 13 June 2011 by Orudge (talk | contribs) (Reformat and update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Abort network connection if other computer does not respond.

2.0.1 alpha 10 or later

Switch

Configuration file: networktimeout on|off|<timeout>

Description

Normally TTD waits forever for a reply from the other computer in a network game. If the other computer has crashed or the network connection is interrupted, this means that TTD can hang totally.

With this switch, the network connection is terminated if the other computer does not reply in the given number of seconds, by default 10 seconds.

This feature was contributed by Csaba Varga.