Changeset 8f438a5 in network-game for common/Message.cpp
- Timestamp:
- Dec 30, 2012, 7:32:04 PM (12 years ago)
- Branches:
- master
- Children:
- eb8adb1
- Parents:
- 38b85bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Message.cpp
r38b85bb r8f438a5 31 31 int ret = recvfrom(sock, (char*)msg, sizeof(NETWORK_MSG), 0, (struct sockaddr *)dest, &socklen); 32 32 33 cout << "Received message of type " << msg->type << endl; 33 if (ret > -1) 34 cout << "Received message of type " << msg->type << endl; 34 35 35 36 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.