Changeset 9fe1807 in network-game for common/MessageProcessor.cpp
- Timestamp:
- Jul 26, 2013, 6:33:18 PM (11 years ago)
- Branches:
- master
- Children:
- 1df6bec
- Parents:
- 46d6469
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/MessageProcessor.cpp
r46d6469 r9fe1807 73 73 for (it2 = sentMsg.begin(); it2 != sentMsg.end(); it2++) { 74 74 if (!(it2->second.getAcked())) { 75 sendto(sock, it2->second.getMessage(), sizeof(NETWORK_MSG), 0, (struct sockaddr *)&it2->first, sizeof(struct sockaddr_in));75 sendto(sock, (const char*)it2->second.getMessage(), sizeof(NETWORK_MSG), 0, (struct sockaddr *)&it2->first, sizeof(struct sockaddr_in)); 76 76 } 77 77 }
Note:
See TracChangeset
for help on using the changeset viewer.