Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 479 for code


Ignore:
Timestamp:
Dec 12, 2007, 7:40:50 PM (17 years ago)
Author:
scheusso
Message:

huhu

File:
1 edited

Legend:

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

    r459 r479  
    7474  bool Server::sendMSG(std::string msg){
    7575    ENetPacket *packet = packet_gen.chatMessage(msg.c_str());
    76     std::cout <<"adding packets" << std::endl;
     76    //std::cout <<"adding packets" << std::endl;
    7777    connection->addPacketAll(packet);
    78     std::cout <<"added packets" << std::endl;
     78    //std::cout <<"added packets" << std::endl;
    7979    return connection->sendPackets();
    8080  }
     
    8686  bool Server::sendMSG(const char *msg){
    8787    ENetPacket *packet = packet_gen.chatMessage(msg);
    88     std::cout <<"adding packets" << std::endl;
     88    //std::cout <<"adding packets" << std::endl;
    8989    connection->addPacketAll(packet);
    90     std::cout <<"added packets" << std::endl;
     90    //std::cout <<"added packets" << std::endl;
    9191    return connection->sendPackets();
    9292  }
     
    110110    int clientID=-1;
    111111    while(!connection->queueEmpty()){
    112       std::cout << "Client " << clientID << " sent: " << std::endl;
     112      //std::cout << "Client " << clientID << " sent: " << std::endl;
    113113      packet = connection->getPacket(clientID);
    114114      elaborate(packet, clientID);
Note: See TracChangeset for help on using the changeset viewer.