- Timestamp:
- Nov 23, 2005, 3:28:34 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_protocol.cc
r5736 r5738 81 81 * @return: a Header struct with the header information and the binary data 82 82 */ 83 Header NetworkProtocol:: ExtractHeader(byte* data, int length)83 Header NetworkProtocol::extractHeader(byte* data, int length) 84 84 { 85 85 //Test if received data can contain a header -
branches/network/src/lib/network/network_protocol.h
r5736 r5738 35 35 36 36 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); 38 38 39 39 private: -
branches/network/src/lib/network/network_stream.cc
r5734 r5738 98 98 99 99 ret = this->synchronizeables->readBytes((byte*)downBuffer); 100 100 this->connectionMonitor->processPacket((byte*)downBuffer, PACKAGE_SIZE); 101 //this-> ->extractHeader(byte* data, int length); 101 102 /* pass the data to the network socket */ 102 103 ret = this->networkSocket->writeBytes((byte*)downBuffer, PACKAGE_SIZE);
Note: See TracChangeset
for help on using the changeset viewer.