Changeset b07eeac in network-game for common/Message.cpp
- Timestamp:
- May 25, 2013, 1:45:54 AM (11 years ago)
- Branches:
- master
- Children:
- 2df63d6
- Parents:
- b81cea1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Message.cpp
rb81cea1 rb07eeac 19 19 int ret = sendto(sock, (char*)msg, sizeof(NETWORK_MSG), 0, (struct sockaddr *)dest, sizeof(struct sockaddr_in)); 20 20 21 cout << "Send a message of type " << msg->type << endl; 22 21 23 return ret; 22 24 }
Note:
See TracChangeset
for help on using the changeset viewer.