Changeset 479 for code/branches/FICN
- Timestamp:
- Dec 12, 2007, 7:40:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/Server.cc
r459 r479 74 74 bool Server::sendMSG(std::string msg){ 75 75 ENetPacket *packet = packet_gen.chatMessage(msg.c_str()); 76 std::cout <<"adding packets" << std::endl;76 //std::cout <<"adding packets" << std::endl; 77 77 connection->addPacketAll(packet); 78 std::cout <<"added packets" << std::endl;78 //std::cout <<"added packets" << std::endl; 79 79 return connection->sendPackets(); 80 80 } … … 86 86 bool Server::sendMSG(const char *msg){ 87 87 ENetPacket *packet = packet_gen.chatMessage(msg); 88 std::cout <<"adding packets" << std::endl;88 //std::cout <<"adding packets" << std::endl; 89 89 connection->addPacketAll(packet); 90 std::cout <<"added packets" << std::endl;90 //std::cout <<"added packets" << std::endl; 91 91 return connection->sendPackets(); 92 92 } … … 110 110 int clientID=-1; 111 111 while(!connection->queueEmpty()){ 112 std::cout << "Client " << clientID << " sent: " << std::endl;112 //std::cout << "Client " << clientID << " sent: " << std::endl; 113 113 packet = connection->getPacket(clientID); 114 114 elaborate(packet, clientID);
Note: See TracChangeset
for help on using the changeset viewer.