Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9342 in orxonox.OLD for branches/proxy/src/lib/network/handshake.h


Ignore:
Timestamp:
Jul 20, 2006, 11:09:34 AM (18 years ago)
Author:
patrick
Message:

ip handshake handling now in the right order

File:
1 edited

Legend:

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

    r9339 r9342  
    8383
    8484    /** @param address: the address of the proxy server 1 if any */
    85     inline void setProxy1Address(IP address) { this->remoteState.proxy1 = address; }
     85    inline void setProxy1Address(IP address) { this->localState.proxy1 = address; }
    8686    /** @returns the address of the proxy server 1 if any */
    87     inline IP getProxy1Address() { return this->localState.proxy1; }
     87    inline IP getProxy1Address() { return this->remoteState.proxy1; }
    8888    /** @param address: the address of the proxy server 2 if any */
    89     inline void setProxy2Address(IP address) { this->remoteState.proxy2 = address; }
     89    inline void setProxy2Address(IP address) { this->localState.proxy2 = address; }
    9090    /** @returns the address of the proxy server 2 if any */
    91     inline IP getProxy2Address() { return this->localState.proxy2; }
     91    inline IP getProxy2Address() { return this->remoteState.proxy2; }
    9292
    9393
Note: See TracChangeset for help on using the changeset viewer.