Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5738 in orxonox.OLD for branches/network/src


Ignore:
Timestamp:
Nov 23, 2005, 3:28:34 PM (19 years ago)
Author:
bottac
Message:
 
Location:
branches/network/src/lib/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_protocol.cc

    r5736 r5738  
    8181    * @return: a Header struct with the header information and the binary data
    8282*/
    83 Header NetworkProtocol::ExtractHeader(byte* data, int length)
     83Header NetworkProtocol::extractHeader(byte* data, int length)
    8484{
    8585  //Test if received data can contain a header
  • branches/network/src/lib/network/network_protocol.h

    r5736 r5738  
    3535
    3636    int createHeader(byte* data, int length, int bufferLength, const Synchronizeable& source, unsigned int remoteID);
    37     Header ExtractHeader(byte* data, int length);
     37    Header extractHeader(byte* data, int length);
    3838
    3939  private:
  • branches/network/src/lib/network/network_stream.cc

    r5734 r5738  
    9898
    9999  ret = this->synchronizeables->readBytes((byte*)downBuffer);
    100 
     100        this->connectionMonitor->processPacket((byte*)downBuffer, PACKAGE_SIZE);
     101        //this-> ->extractHeader(byte* data, int length);
    101102  /* pass the data to the network socket */
    102103  ret = this->networkSocket->writeBytes((byte*)downBuffer, PACKAGE_SIZE);
Note: See TracChangeset for help on using the changeset viewer.