Changeset 351 for code/branches
- Timestamp:
- Nov 29, 2007, 5:17:55 PM (17 years ago)
- Location:
- code/branches/FICN/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/PacketBufferTestExt.cc
r346 r351 15 15 16 16 void write(PacketBuffer *test){ 17 ENetEvent event; 17 18 ENetPacket *packet; 18 19 if(test->isEmpty()) … … 23 24 ENET_PACKET_FLAG_RELIABLE); 24 25 std::cout << i << ": pushing " << packet->data << std::endl; 25 test->push((ENetEvent*)packet); 26 event.packet=packet; 27 test->push(&event); 26 28 if(i==5) 27 29 // under windows, use Sleep(milliseconds) instead of usleep(microseconds) -
code/branches/FICN/src/network/Synchronisable.cc
r346 r351 21 21 { 22 22 datasize=0; 23 //registerAllVariables();23 registerAllVariables(); 24 24 } 25 25
Note: See TracChangeset
for help on using the changeset viewer.