Changeset 9652 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 31, 2006, 3:42:26 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/message_manager.cc
r9636 r9652 241 241 assert( i + messageLength <= length ); 242 242 // make sure there is a message handler for this message type 243 assert( messageHandlerMap.find( (MessageType)messageType ) != messageHandlerMap.end());243 assert( messageHandlerMap.find( (MessageType)messageType ) == messageHandlerMap.end()); 244 244 245 245 … … 345 345 if ( outgoingMessageQueue[userId].recievedMessages.size() > 1000 ) 346 346 { 347 for ( int j = 0; j < outgoingMessageQueue[userId].recievedMessages.size() - 1000; j++ )347 for ( int j = 0; j < (int)outgoingMessageQueue[userId].recievedMessages.size() - 1000; j++ ) 348 348 outgoingMessageQueue[userId].recievedMessages.erase( outgoingMessageQueue[userId].recievedMessages.begin() ); 349 349 } -
branches/proxy/src/lib/network/network_manager.cc
r9638 r9652 142 142 143 143 // then start the server 144 this->networkStream->createServer( port, port + 1, port + 2);144 // this->networkStream->createServer( port, port + 1, port + 2); 145 145 146 146 // and to the other proxy servers also, this would be very nice if its works -
branches/proxy/src/lib/network/network_stream.cc
r9643 r9652 487 487 break; 488 488 } 489 userId++; 489 490 490 491 // for ( PeerList::iterator it = peers.begin(); it != peers.end(); it++ )
Note: See TracChangeset
for help on using the changeset viewer.