Rename 'attached' to 'has_remote_addr'

Even with future support for detaching and reattaching, this variable will keep
its original meaning.
This commit is contained in:
Keegan McAllister
2012-03-06 11:54:56 -08:00
parent d7f7e7c4ae
commit e35733a2c1
6 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -75,10 +75,10 @@ namespace Network {
static const uint64_t MAX_RTO = 1000; /* ms */
int sock;
bool has_remote_addr;
struct sockaddr_in remote_addr;
bool server;
bool attached;
int MTU;
@@ -110,7 +110,7 @@ namespace Network {
int port( void ) const;
string get_key( void ) const { return key.printable_key(); }
bool get_attached( void ) const { return attached; }
bool get_has_remote_addr( void ) const { return has_remote_addr; }
uint64_t timeout( void ) const;
double get_SRTT( void ) const { return SRTT; }