comparison finch/gntaccount.h @ 22859:d6fba8b55794

Disconnect accounts immediately when we're told the network has disconnected, rather than call the keepalive. This provides immediate feedback that the user is disconnected from the network and speeds reconnection if they're changing to a new network immediately. This should only be a problem if we're being told the network has disconnected when it really is still connected or, for example, if you accidentally unplug your network cable and plug it right back in. (The keepalive method should mean that you'd be re-connected and TCP would re-transmit packets as necessary, where this will cut you off immediately.) Given that other applications follow this model, we should be okay.
author Richard Laager <rlaager@wiktel.com>
date Sat, 10 May 2008 08:27:21 +0000
parents acf284962b40
children 02a2e8183b1d
comparison
equal deleted inserted replaced
22857:b8f861d7b540 22859:d6fba8b55794