Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9343 in orxonox.OLD for branches


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

more handshake bugs from me :D

File:
1 edited

Legend:

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

    r9342 r9343  
    33 *  implementation of a network pipe. This node handles the handshake of two network nodes and exchanges informationas
    44 * vial to the connection setup.
     5 *
     6 * the local node only writes in the localState variable. the remoteState variable will be written from the remote network node
     7 * so don't write into it!
    58 */
    69
     
    7881
    7982    /** @returns if true the local client should reconnect to a proxy server from the proxy server list */
    80     inline bool redirect() { return this->localState.redirectProxy;}
     83    inline bool redirect() { return this->remoteState.redirectProxy;}
    8184    /** @param flag: indicating if the client should be redirected */
    82     inline void setRedirect(bool flag) { this->remoteState.redirectProxy = flag; }
     85    inline void setRedirect(bool flag) { this->localState.redirectProxy = flag; }
    8386
    8487    /** @param address: the address of the proxy server 1 if any */
Note: See TracChangeset for help on using the changeset viewer.