Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 351 for code/branches


Ignore:
Timestamp:
Nov 29, 2007, 5:17:55 PM (17 years ago)
Author:
scheusso
Message:

adjustet PacketBufferTestExt (because of changes in PacketBuffer) and Synchronisable.cc (registerAllVariables must be called by the Constructor of Synchronisable)

Location:
code/branches/FICN/src/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/PacketBufferTestExt.cc

    r346 r351  
    1515
    1616void write(PacketBuffer *test){
     17  ENetEvent event;
    1718  ENetPacket *packet;
    1819  if(test->isEmpty())
     
    2324ENET_PACKET_FLAG_RELIABLE);
    2425    std::cout << i << ": pushing " << packet->data << std::endl;
    25     test->push((ENetEvent*)packet);
     26    event.packet=packet;
     27    test->push(&event);
    2628    if(i==5)
    2729// under windows, use Sleep(milliseconds) instead of usleep(microseconds)
  • code/branches/FICN/src/network/Synchronisable.cc

    r346 r351  
    2121{
    2222  datasize=0;
    23   //registerAllVariables();
     23  registerAllVariables();
    2424}
    2525
Note: See TracChangeset for help on using the changeset viewer.