Changeset 64d22ac in network-game
- Timestamp:
- Jul 20, 2013, 2:04:14 PM (11 years ago)
- Branches:
- master
- Children:
- 9a4fa04
- Parents:
- bace57b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/MessageProcessor.cpp
rbace57b r64d22ac 38 38 return ret; 39 39 40 cout << "Received message" << endl; 41 40 42 // add id to the NETWORK_MSG struct 41 43 if (msg->type == MSG_TYPE_ACK) { 44 cout << "Received ack" << endl; 42 45 if (!sentMessages[msg->id][source->sin_addr.s_addr].isAcked) { 43 46 cout << "Received new ack" << endl; … … 50 53 bool isDuplicate = false; 51 54 52 cout << "Received message" << endl;55 cout << "Received real message" << endl; 53 56 cout << "id: " << msg->id << endl; 54 57 cout << "type: " << msg->type << endl;
Note:
See TracChangeset
for help on using the changeset viewer.