Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2007, 6:01:24 PM (18 years ago)
Author:
scheusso
Message:

still problems with chatserver/client

File:
1 edited

Legend:

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

    r436 r442  
    198198  bool ConnectionManager::addClient(ENetEvent *event){
    199199    ClientInformation *temp = head_->insertBack(new ClientInformation);
    200     temp->setID(temp->prev()->getID());
     200    temp->setID(temp->prev()->getID()+1);
    201201    temp->setPeer(event->peer);
     202    std::cout << "added client id: " << temp->prev()->getID() << std::endl;
    202203    return true;
    203204  }
Note: See TracChangeset for help on using the changeset viewer.