Changeset 9383 in orxonox.OLD for branches/proxy/src/lib/network
- Timestamp:
- Jul 21, 2006, 12:51:19 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/ip.cc
r9360 r9383 130 130 * @return true if ip _and_ port match. 131 131 */ 132 bool IP::operator==(const IP& ip) 132 bool IP::operator==(const IP& ip) const 133 133 { 134 134 return (this->_ip == ip.host() && … … 140 140 * @brief comparison operator 141 141 * @param ip the IP to compare 142 * @return true if ip _ and_ port do not match.143 */ 144 bool IP::operator!=(const IP& ip) 142 * @return true if ip _or_ port do not match. 143 */ 144 bool IP::operator!=(const IP& ip) const 145 145 { 146 146 return (this->_ip != ip.host() || -
branches/proxy/src/lib/network/ip.h
r9360 r9383 30 30 const IP& operator=(const IP& ip); 31 31 const IP& operator=(const IPaddress& ip); 32 bool operator==(const IP& ip) ;33 bool operator!=(const IP& up) ;32 bool operator==(const IP& ip) const; 33 bool operator!=(const IP& up) const; 34 34 35 35 /// RETRIVEAL
Note: See TracChangeset
for help on using the changeset viewer.