Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5610 in orxonox.OLD for branches/network


Ignore:
Timestamp:
Nov 16, 2005, 4:26:15 PM (19 years ago)
Author:
bottac
Message:
 
Location:
branches/network/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_stream.cc

    r5608 r5610  
    3535  /* initialize the references */
    3636  this->networkSockets = new NetworkSocket();
    37   this->synchronizeables = NULL;
     37  this->synchronizeables = new Synchronizeable();
    3838  this->connectionMonitor = new ConnectionMonitor();
     39
     40 
    3941
    4042}
     
    5052void NetworkStream::processData()
    5153{
     54  byte data[10] ; // obsolete, for debugging only
     55  byte* test = (byte *)data[0]; // obsolete, for debugging only
     56
     57  this->synchronizeables->writeByteStream(NULL);
     58  this->networkSockets->writeBytes(NULL);
     59  test = this->synchronizeables->readByteStream();
     60  test = this->networkSockets->readBytes();
    5261}
    5362
  • branches/network/src/lib/network/network_stream.h

    r5607 r5610  
    2828  NetworkSocket*          networkSockets;
    2929  ConnectionMonitor*      connectionMonitor;
    30   tList<Synchronizeable>* synchronizeables;
    31  
     30 // tList<Synchronizeable>* synchronizeables;
     31  Synchronizeable*          synchronizeables;
    3232};
    3333#endif /* _NETWORK_STREAM */
Note: See TracChangeset for help on using the changeset viewer.