Deliver sendto() exceptions without disturbing control flow

This prevents the client from waking up every 200 ms while the network is down.
Addresses #243.
This commit is contained in:
Keegan McAllister
2012-05-02 00:14:59 -04:00
committed by Keith Winstein
parent 9dddcd8566
commit 67a85eaf99
4 changed files with 32 additions and 5 deletions
+2
View File
@@ -102,6 +102,8 @@ namespace Network {
unsigned int send_interval( void ) const { return sender.send_interval(); }
const struct in_addr & get_remote_ip( void ) const { return connection.get_remote_ip(); }
const NetworkException *get_send_exception( void ) const { return connection.get_send_exception(); }
};
}