Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9311 in orxonox.OLD for branches/proxy/src/lib/network


Ignore:
Timestamp:
Jul 18, 2006, 1:33:14 AM (18 years ago)
Author:
bensch
Message:

minor cleanup

Location:
branches/proxy/src/lib/network
Files:
2 edited

Legend:

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

    r9310 r9311  
    3131  this->_port = port;
    3232}
    33 
    3433
    3534
     
    7069}
    7170
    72 
    73 
    7471/**
    7572 * @brief copy operator
     
    8380  return *this;
    8481}
    85 
    86 
    8782
    8883/**
     
    157152      return -1;
    158153  }
    159 
    160154}
    161155
     
    182176
    183177
    184 
    185 
    186 
    187178/**
    188179 * @brief converts a IP into a String (without port).
  • branches/proxy/src/lib/network/ip.h

    r9310 r9311  
    2020{
    2121  public:
     22    /// CONSTRUCTORS
    2223    IP();
    2324    IP(const std::string& ip, int port = -1, bool resolve = true);
     
    2627    IP(const IP& ip);
    2728
     29    /// OPERATORS
    2830    const IP& operator=(const IP& ip);
    2931    bool operator==(const IP& ip);
    3032
    31 
     33    /// RETRIEAL
    3234    /** @returns the IP */
    3335    int ip() const { return this->_ip; };
     
    3941
    4042  public:
     43
     44    /// SETUP
    4145    static IP stringToIP(const std::string& ip, int port = -1, bool resolve = true);
    4246
Note: See TracChangeset for help on using the changeset viewer.