- Timestamp:
 - Jul 18, 2006, 1:33:14 AM (19 years ago)
 - Location:
 - branches/proxy/src/lib/network
 - Files:
 - 
          
- 2 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/proxy/src/lib/network/ip.cc
r9310 r9311 31 31 this->_port = port; 32 32 } 33 34 33 35 34 … … 70 69 } 71 70 72 73 74 71 /** 75 72 * @brief copy operator … … 83 80 return *this; 84 81 } 85 86 87 82 88 83 /** … … 157 152 return -1; 158 153 } 159 160 154 } 161 155 … … 182 176 183 177 184 185 186 187 178 /** 188 179 * @brief converts a IP into a String (without port).  - 
        
branches/proxy/src/lib/network/ip.h
r9310 r9311 20 20 { 21 21 public: 22 /// CONSTRUCTORS 22 23 IP(); 23 24 IP(const std::string& ip, int port = -1, bool resolve = true); … … 26 27 IP(const IP& ip); 27 28 29 /// OPERATORS 28 30 const IP& operator=(const IP& ip); 29 31 bool operator==(const IP& ip); 30 32 31 33 /// RETRIEAL 32 34 /** @returns the IP */ 33 35 int ip() const { return this->_ip; }; … … 39 41 40 42 public: 43 44 /// SETUP 41 45 static IP stringToIP(const std::string& ip, int port = -1, bool resolve = true); 42 46  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






