Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9334 in orxonox.OLD for branches/proxy/src/lib/network/ip.h


Ignore:
Timestamp:
Jul 19, 2006, 10:29:14 PM (19 years ago)
Author:
patrick
Message:

work of the day in one commit:D

  • switched whole network framework to ip sturcture
  • extended ip structrue a little bit
  • reimplemented the disconnection/reconnection algorithm
  • synchronizeable ip bug discovered and solved
File:
1 edited

Legend:

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

    r9323 r9334  
    2929    /// OPERATORS
    3030    const IP& operator=(const IP& ip);
     31    const IP& operator=(const IPaddress& ip);
    3132    bool operator==(const IP& ip);
     33    bool operator!=(const IP& up);
    3234
    3335    /// RETRIVEAL
     
    3638    /** @returns the Port */
    3739    short port() const { return this->_port; };
     40    inline IPaddress getSDLNotation() { IPaddress sdlIP; sdlIP.host = this->_ip; sdlIP.port = this->_port; return sdlIP; }
    3841
    3942    int ipPart(unsigned int part) const;
Note: See TracChangeset for help on using the changeset viewer.