- Timestamp:
- Nov 24, 2010, 5:12:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/masterserver/src/libraries/network/MasterServerComm.cc
r7662 r7668 106 106 { 107 107 /* see whether anything happened */ 108 if( enet_host_service( this->client, &this->event, 100 ) >= 0 ) 108 /* WORK MARK REMOVE THIS OUTPUT */ 109 COUT(2) << "MARK polling...\n"; 110 111 if( enet_host_service( this->client, &this->event, 1000 ) >= 0 ) 109 112 { 110 113 /* address buffer */ … … 149 152 150 153 /* show that no event occured */ 151 return 1;154 return 0; 152 155 } 153 156 … … 165 168 /* One could just use enet_host_service() instead. */ 166 169 enet_host_flush( this->client ); 170 167 171 if( packet ) free( packet ); 168 172
Note: See TracChangeset
for help on using the changeset viewer.