Changeset 3302 for code/branches/netp6/src/network/Connection.cc
- Timestamp:
- Jul 18, 2009, 5:13:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp6/src/network/Connection.cc
r3214 r3302 31 31 #include <cassert> 32 32 #include <enet/enet.h> 33 #include <OgreTimer.h>34 33 #include "packet/Packet.h" 35 34 … … 77 76 78 77 assert(this->host_); 79 Ogre::Timer timer;80 78 81 while( timer.getMilliseconds()<NETWORK_MAX_QUEUE_PROCESS_TIME &&enet_host_service( this->host_, &event, NETWORK_WAIT_TIMEOUT ) > 0 )79 while( enet_host_service( this->host_, &event, NETWORK_WAIT_TIMEOUT ) > 0 ) 82 80 { 83 81 switch(event.type){
Note: See TracChangeset
for help on using the changeset viewer.