Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9653 in orxonox.OLD for branches/proxy/src/lib/network/udp_socket.h


Ignore:
Timestamp:
Aug 1, 2006, 12:39:03 AM (18 years ago)
Author:
patrick
Message:

some more smaller works:

  • fixed a bug preventing clients/proxies to connect to server
  • started an implementation of a soft-reconnection
  • fixed a bug preventing more than one proxy to connect to a ms
File:
1 edited

Legend:

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

    r9406 r9653  
    4141
    4242  private:
     43    void init();
     44
     45    bool writeRawPacket( byte * data, int length );
     46    bool checkUdpCmd( byte udpCmd );
     47    bool checkRandomByte( byte rndByte );
     48    byte generateNewRandomByte();
     49
     50
     51  private:
    4352    UdpServerSocket * serverSocket;   //!< will get packets here
    4453    int               userId;         //!< user id used by serverSocket
     
    4756
    4857    byte              randomByte;     //!< contains random bytes & 0xFC
    49 
    50     bool writeRawPacket( byte * data, int length );
    51     bool checkUdpCmd( byte udpCmd );
    52     bool checkRandomByte( byte rndByte );
    53     byte generateNewRandomByte();
    54 
    55     void init();
    56 
    5758};
    5859
Note: See TracChangeset for help on using the changeset viewer.