Changeset 8502 in orxonox.OLD for branches/network
- Timestamp:
- Jun 15, 2006, 10:35:20 PM (18 years ago)
- Location:
- branches/network/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r8497 r8502 510 510 int compLength = 0; 511 511 if ( this->isServer() ) 512 Zip::getInstance()->zip( buf, offset, compBuf, UDP_PACKET_SIZE, dictServer );512 compLength = Zip::getInstance()->zip( buf, offset, compBuf, UDP_PACKET_SIZE, dictServer ); 513 513 else 514 Zip::getInstance()->zip( buf, offset, compBuf, UDP_PACKET_SIZE, dictClient );514 compLength = Zip::getInstance()->zip( buf, offset, compBuf, UDP_PACKET_SIZE, dictClient ); 515 515 516 516 if ( compLength < 0 ) -
branches/network/src/subprojects/network/network_unit_test.cc
r7954 r8502 276 276 for(;;) 277 277 { 278 MessageManager::getInstance()->sendMessage( TESTMESSAGEID, (byte*)"server to client", 18, RT_ALL , 0, MP_HIGHBANDWIDTH );278 MessageManager::getInstance()->sendMessage( TESTMESSAGEID, (byte*)"server to client", 18, RT_ALL_NOT_ME, 0, MP_HIGHBANDWIDTH ); 279 279 netMan->synchronize( 100 ); 280 280 SDL_Delay(100); … … 323 323 { 324 324 netMan->synchronize( 100 ); 325 MessageManager::getInstance()->sendMessage( TESTMESSAGEID, (byte*)"client to server", 18, RT_ALL , 0, MP_HIGHBANDWIDTH );325 MessageManager::getInstance()->sendMessage( TESTMESSAGEID, (byte*)"client to server", 18, RT_ALL_NOT_ME, 0, MP_HIGHBANDWIDTH ); 326 326 ss = dynamic_cast<SimpleSync*>(ClassList::getObject( "Server", CL_SIMPLE_SYNC ) ); 327 327 SDL_Delay(100);
Note: See TracChangeset
for help on using the changeset viewer.