Changeset 9377 in orxonox.OLD for branches/proxy/src/lib/network
- Timestamp:
- Jul 21, 2006, 11:43:38 AM (19 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable.cc
r9375 r9377 326 326 n = (*it)->readFromBuf( stateTo->data + i, stateTo->dataLength - i ); 327 327 i += n; 328 //NETPRINTF(0)("%s::setvar %s %d\n", getClass Name(), (*it)->getName().c_str(), n);329 PRINTF(0)("%s::setvar %s %d\n", getClass Name().c_str(), (*it)->getName().c_str(), n);328 //NETPRINTF(0)("%s::setvar %s %d\n", getClassCName(), (*it)->getName().c_str(), n); 329 PRINTF(0)("%s::setvar %s %d\n", getClassCName(), (*it)->getName().c_str(), n); 330 330 //(*it)->debug(); 331 331 if ( (*it)->getHasChanged() ) … … 338 338 // PRINTF(0)("DONT SET VAR BECAUSE OF PERMISSION: %s %d %d %d %d %d %d\n", (*it)->getName().c_str(), (*it)->checkPermission( PERMISSION_MASTER_SERVER ), (*it)->checkPermission( PERMISSION_OWNER ), (*it)->checkPermission( PERMISSION_ALL ), networkStream->isUserServer( userId ), this->owner, userId ); 339 339 n = (*it)->getSizeFromBuf( stateTo->data + i, stateTo->dataLength - i ); 340 //NETPRINTF(0)("%s::setvar %s %d\n", getClass Name(), (*it)->getName().c_str(), n);340 //NETPRINTF(0)("%s::setvar %s %d\n", getClassCName(), (*it)->getName().c_str(), n); 341 341 //(*it)->debug(); 342 342 i += n; -
branches/proxy/src/lib/network/synchronizeable_var/synchronizeable_ip.cc
r9365 r9377 89 89 *this->vPtrOut = IP(host, port); 90 90 91 printf(" %s old: %i, %i -- new: %i, %i\n", name.c_str(), oldVal.host(), oldVal.port(), this->vPtrOut->host(), this->vPtrOut->port());92 91 this->setHasChanged( *this->vPtrOut != oldVal); 93 92 -
branches/proxy/src/lib/network/tcp_socket.h
r9347 r9377 16 16 #define _INCOMING_BUFFER_SIZE 2024000 17 17 #define _OUTGOING_BUFFER_SIZE 2024000 18 #define _LOCAL_BUFFER_SIZE 102418 #define _LOCAL_BUFFER_SIZE 2048 19 19 //sleep if incoming buffer is full 20 20 #define _MSECONDS_SLEEP_FULL_BUFFER 10
Note: See TracChangeset
for help on using the changeset viewer.