Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9344 in orxonox.OLD for branches/proxy/src/lib/network/ip.cc


Ignore:
Timestamp:
Jul 20, 2006, 11:29:35 AM (18 years ago)
Author:
patrick
Message:

changed interface of ip slighlu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/ip.cc

    r9337 r9344  
    106106const IP& IP::operator=(const IP& ip)
    107107{
    108   this->_ip = ip.ip();
     108  this->_ip = ip.host();
    109109  this->_port = ip.port();
    110110  return *this;
     
    132132bool IP::operator==(const IP& ip)
    133133{
    134   return (this->_ip == ip.ip() &&
     134  return (this->_ip == ip.host() &&
    135135          this->_port == ip.port());
    136136}
     
    144144bool IP::operator!=(const IP& ip)
    145145{
    146   return (this->_ip != ip.ip() ||
     146  return (this->_ip != ip.host() ||
    147147      this->_port != ip.port());
    148148}
Note: See TracChangeset for help on using the changeset viewer.