Index: branches/network/src/lib/network/synchronizeable.cc
===================================================================
--- branches/network/src/lib/network/synchronizeable.cc	(revision 5805)
+++ branches/network/src/lib/network/synchronizeable.cc	(revision 5806)
@@ -40,5 +40,5 @@
                           \brief write data to NetworkStream
  */
- void Synchronizeable::writeBytes(byte* data, int length)
+ void Synchronizeable::writeBytes(const byte* data, int length)
 {
 
@@ -51,5 +51,5 @@
                                  \brief read data from NetworkStream
  */
- int Synchronizeable::readBytes(byte* data)
+ int Synchronizeable::readBytes(byte* data) const
 {
 
@@ -59,10 +59,10 @@
 }
 
- void Synchronizeable::writeDebug()
+ void Synchronizeable::writeDebug() const
 {
 
 }
 
- void Synchronizeable::readDebug()
+ void Synchronizeable::readDebug() const
 {
 
Index: branches/network/src/lib/network/synchronizeable.h
===================================================================
--- branches/network/src/lib/network/synchronizeable.h	(revision 5805)
+++ branches/network/src/lib/network/synchronizeable.h	(revision 5806)
@@ -17,10 +17,10 @@
     ~Synchronizeable();
 
-    virtual void      writeBytes(byte* data, int length);
-    virtual int       readBytes(byte* data);
-    virtual void      writeDebug();
-    virtual void      readDebug();
+    virtual void      writeBytes(const byte* data, int length);
+    virtual int       readBytes(byte* data) const;
+    virtual void      writeDebug() const;
+    virtual void      readDebug() const;
 
-    inline const char* getName() { return this->name; }
+    inline const char* getName() const { return this->name; }
 
   private:
Index: branches/network/src/subprojects/network/network_unit_test.cc
===================================================================
--- branches/network/src/subprojects/network/network_unit_test.cc	(revision 5805)
+++ branches/network/src/subprojects/network/network_unit_test.cc	(revision 5806)
@@ -143,5 +143,6 @@
   if(error == -1) printf("\n\nerror on address resolution, program inconsistancy\n\n");
   nm->establishConnection(ip, *clientSync);
-  SDL_Delay(1000);
+  /* adding some break for connection setup */
+  SDL_Delay(20);
 
   /* synchronize the data 1 time (increment for longer tests) */
Index: branches/network/src/subprojects/network/simple_sync.cc
===================================================================
--- branches/network/src/subprojects/network/simple_sync.cc	(revision 5805)
+++ branches/network/src/subprojects/network/simple_sync.cc	(revision 5806)
@@ -60,5 +60,5 @@
  *  write data to Synchronizeable
  */
-void SimpleSync::writeBytes(byte* data, int length)
+void SimpleSync::writeBytes(const byte* data, int length)
 {
   PRINTF(0)("SimpleSync: got %i bytes of data\n", length);
@@ -80,16 +80,15 @@
  *  read data from Synchronizeable
  */
-int SimpleSync::readBytes(byte* data)
+int SimpleSync::readBytes(byte* data) const
 {
   PRINTF(0)("SimpleSync: sent %i bytes of data\n", this->outLength);
 
+  /* debug msg */
+  this->readDebug();
+
   /* write the test message */
   for( int i = 0; i < this->outLength; i++)
-  {
     data[i] = this->outData[i];
-  }
 
-  /* debug msg */
-  this->readDebug();
   /* return the length of the test */
   return this->outLength;
@@ -97,5 +96,5 @@
 
 
-void SimpleSync::writeDebug()
+void SimpleSync::writeDebug() const
 {
   PRINTF(0)("Write in bytes: \t(0 <-) |");
@@ -108,5 +107,5 @@
 
 
-void SimpleSync::readDebug()
+void SimpleSync::readDebug() const
 {
   PRINTF(0)("Read out bytes: \t(0 ->) |");
Index: branches/network/src/subprojects/network/simple_sync.h
===================================================================
--- branches/network/src/subprojects/network/simple_sync.h	(revision 5805)
+++ branches/network/src/subprojects/network/simple_sync.h	(revision 5806)
@@ -16,11 +16,11 @@
     ~SimpleSync();
 
-    virtual void writeBytes(byte* data, int length);
-    virtual int readBytes(byte* data);
+    virtual void writeBytes(const byte* data, int length);
+    virtual int readBytes(byte* data) const;
 
 
   private:
-    virtual void writeDebug();
-    virtual void readDebug();
+    virtual void writeDebug() const;
+    virtual void readDebug() const;
 
 
