Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2010, 10:41:24 AM (14 years ago)
Author:
scheusso
Message:

network is now multithreaded again
further testing needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network5/src/libraries/network/Client.cc

    r7759 r7772  
    114114  }
    115115
    116   bool Client::queuePacket(ENetPacket *packet, int clientID)
    117   {
    118     bool b = ClientConnection::addPacket(packet);
    119     assert(b);
    120     return b;
     116  void Client::queuePacket(ENetPacket *packet, int clientID, uint8_t channelID)
     117  {
     118    ClientConnection::addPacket(packet, channelID);
    121119  }
    122120
     
    170168      }
    171169    }
    172     sendPackets(); // flush the enet queue
     170//     sendPackets(); // flush the enet queue
    173171
    174172    Connection::processQueue();
     
    180178    }
    181179    gamestate->cleanup();
    182     Connection::sendPackets();
     180//     Connection::sendPackets();
    183181
    184182    return;
Note: See TracChangeset for help on using the changeset viewer.