Changeset d05086b in network-game for common/MessageProcessor.h
- Timestamp:
- Aug 1, 2013, 1:56:17 AM (12 years ago)
- Branches:
- master
- Children:
- 8271c78
- Parents:
- b35b2b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/MessageProcessor.h
rb35b2b2 rd05086b 24 24 ~MessageProcessor(); 25 25 26 int sendMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest );27 int receiveMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest );28 void resendUnackedMessages(int sock );29 void cleanAckedMessages( );26 int sendMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest, ofstream* outputLog = NULL); 27 int receiveMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest, ofstream* outputLog = NULL); 28 void resendUnackedMessages(int sock, ofstream* outputLog = NULL); 29 void cleanAckedMessages(ofstream* outputLog = NULL); 30 30 31 31 map<unsigned int, map<unsigned long, MessageContainer> >& getSentMessages();
Note:
See TracChangeset
for help on using the changeset viewer.