Changeset 9305 in orxonox.OLD for branches/proxy/src/lib/util/ip.h
- Timestamp:
- Jul 17, 2006, 1:54:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/util/ip.h
r9304 r9305 24 24 25 25 26 float ip() const;27 float ip(unsigned int part) const;26 int ip() const { return this->_ip; }; 27 short port() const { return this->_port; }; 28 28 29 int ip(unsigned int part) const; 29 30 std::string& ipString() const; 30 31 … … 33 34 public: 34 35 static int stringToIP(const std::string& ip); 35 static const std::string& ipToString(int ip); 36 static std::string ipToString(const IPaddress& ipaddr); 37 static std::string ipToString(int ip); 36 38 37 39 private: 38 40 int _ip; //!< the IP in int form. 39 41 short _port; 40 42 41 43 };
Note: See TracChangeset
for help on using the changeset viewer.