Changeset 64d22ac in network-game


Ignore:
Timestamp:
Jul 20, 2013, 2:04:14 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
9a4fa04
Parents:
bace57b
Message:

Debugging info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.cpp

    rbace57b r64d22ac  
    3838      return ret;
    3939
     40   cout << "Received message" << endl;
     41
    4042   // add id to the NETWORK_MSG struct
    4143   if (msg->type == MSG_TYPE_ACK) {
     44      cout << "Received ack" << endl;
    4245      if (!sentMessages[msg->id][source->sin_addr.s_addr].isAcked) {
    4346         cout << "Received new ack" << endl;
     
    5053      bool isDuplicate = false;
    5154
    52       cout << "Received message" << endl;
     55      cout << "Received real message" << endl;
    5356      cout << "id: " << msg->id << endl;
    5457      cout << "type: " << msg->type << endl;
Note: See TracChangeset for help on using the changeset viewer.