Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

still problems with chatserver/client

File:
1 edited

Legend:

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

    r436 r442  
    7474  bool Server::sendMSG(std::string msg){
    7575    ENetPacket *packet = packet_gen.chatMessage(msg.c_str());
     76    std::cout <<"adding packets" << std::endl;
    7677    connection->addPacketAll(packet);
     78    std::cout <<"added packets" << std::endl;
    7779    return connection->sendPackets();
    7880  }
     
    8486  bool Server::sendMSG(const char *msg){
    8587    ENetPacket *packet = packet_gen.chatMessage(msg);
     88    std::cout <<"adding packets" << std::endl;
    8689    connection->addPacketAll(packet);
     90    std::cout <<"added packets" << std::endl;
    8791    return connection->sendPackets();
    8892  }
Note: See TracChangeset for help on using the changeset viewer.