Changeset 5610 in orxonox.OLD for branches/network/src/lib/network/network_stream.cc
- Timestamp:
- Nov 16, 2005, 4:26:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r5608 r5610 35 35 /* initialize the references */ 36 36 this->networkSockets = new NetworkSocket(); 37 this->synchronizeables = NULL;37 this->synchronizeables = new Synchronizeable(); 38 38 this->connectionMonitor = new ConnectionMonitor(); 39 40 39 41 40 42 } … … 50 52 void NetworkStream::processData() 51 53 { 54 byte data[10] ; // obsolete, for debugging only 55 byte* test = (byte *)data[0]; // obsolete, for debugging only 56 57 this->synchronizeables->writeByteStream(NULL); 58 this->networkSockets->writeBytes(NULL); 59 test = this->synchronizeables->readByteStream(); 60 test = this->networkSockets->readBytes(); 52 61 } 53 62
Note: See TracChangeset
for help on using the changeset viewer.