Changeset 9344 in orxonox.OLD for branches/proxy/src/lib/network/ip.cc
- Timestamp:
- Jul 20, 2006, 11:29:35 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/ip.cc
r9337 r9344 106 106 const IP& IP::operator=(const IP& ip) 107 107 { 108 this->_ip = ip. ip();108 this->_ip = ip.host(); 109 109 this->_port = ip.port(); 110 110 return *this; … … 132 132 bool IP::operator==(const IP& ip) 133 133 { 134 return (this->_ip == ip. ip() &&134 return (this->_ip == ip.host() && 135 135 this->_port == ip.port()); 136 136 } … … 144 144 bool IP::operator!=(const IP& ip) 145 145 { 146 return (this->_ip != ip. ip() ||146 return (this->_ip != ip.host() || 147 147 this->_port != ip.port()); 148 148 }
Note: See TracChangeset
for help on using the changeset viewer.