Changeset 9334 in orxonox.OLD for branches/proxy/src/lib/network/ip.h
- Timestamp:
- Jul 19, 2006, 10:29:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/ip.h
r9323 r9334 29 29 /// OPERATORS 30 30 const IP& operator=(const IP& ip); 31 const IP& operator=(const IPaddress& ip); 31 32 bool operator==(const IP& ip); 33 bool operator!=(const IP& up); 32 34 33 35 /// RETRIVEAL … … 36 38 /** @returns the Port */ 37 39 short port() const { return this->_port; }; 40 inline IPaddress getSDLNotation() { IPaddress sdlIP; sdlIP.host = this->_ip; sdlIP.port = this->_port; return sdlIP; } 38 41 39 42 int ipPart(unsigned int part) const;
Note: See TracChangeset
for help on using the changeset viewer.