Index: /branches/FACT++_lidctrl_usb/src/lidctrl.cc
===================================================================
--- /branches/FACT++_lidctrl_usb/src/lidctrl.cc	(revision 18739)
+++ /branches/FACT++_lidctrl_usb/src/lidctrl.cc	(revision 18740)
@@ -111,5 +111,5 @@
     }
 
-    void HandleReceivedData(const boost::system::error_code&, size_t bytes_received, int bar, int foo)
+    void HandleReceivedData(const boost::system::error_code&, size_t bytes_received)
     {
         CollectBytes(bytes_received);
@@ -130,12 +130,21 @@
     }
 
-    void DoAsyncRead(const bs::error_code &error){
-        AsyncRead(ba::buffer(fRecievedBytes, 2 * sizeof(complete_message_t)), 0, 0);
+    void DoAsyncRead(){
+        async_read(
+            *this,
+            boost::asio::buffer(fRecievedBytes, 2 * sizeof(complete_message_t)),
+            boost::bind(
+                &ConnectionLid::HandleReceivedData,
+                this,
+                dummy::error,
+                dummy::bytes_transferred
+            )
+        );
     }
 
     void ConnectionEstablished()
     {
-        fReadTimer.expires_from_now(boost::posix_time::milliseconds(1));
-	fReadTimer.async_wait(boost::bind(&ConnectionLid::DoAsyncRead, this, dummy::error));
+        fReadTimer.expires_from_now(boost::posix_time::milliseconds(50));
+	fReadTimer.async_wait(boost::bind(&ConnectionLid::DoAsyncRead, this));
     }
 
