Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 13, 2005, 4:29:32 PM (18 years ago)
Author:
rennerc
Message:

handshake: several clients can connect at the same time now

File:
1 edited

Legend:

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

    r6053 r6090  
    2323  HS_SENT_HID   = 0x00000010,
    2424  HS_RECVD_HID  = 0x00000020,
    25   HS_COMPLETED  = 0X00000040,
     25  HS_COMPLETED  = 0x00000040,
     26
     27  HS_DO_REJECT  = 0x00010000,
     28  HS_WAS_REJECT = 0x00020000,
    2629
    2730  NUM_STATES
     
    3538    inline bool       ok(){ return isOk; }
    3639    inline int        getHostId(){ return newHostId; }
     40
     41    inline void       doReject(){ setState(HS_DO_REJECT); }
    3742
    3843    virtual void      writeBytes(const byte* data, int length);
Note: See TracChangeset for help on using the changeset viewer.