Changeset 5610 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Nov 16, 2005, 4:26:15 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 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 -
branches/network/src/lib/network/network_stream.h
r5607 r5610 28 28 NetworkSocket* networkSockets; 29 29 ConnectionMonitor* connectionMonitor; 30 tList<Synchronizeable>* synchronizeables;31 30 // tList<Synchronizeable>* synchronizeables; 31 Synchronizeable* synchronizeables; 32 32 }; 33 33 #endif /* _NETWORK_STREAM */
Note: See TracChangeset
for help on using the changeset viewer.