Emacs/cc-ide: More robust function movement
[mediaserv.git] / testclient.cc
index 1365600..e439e1f 100644 (file)
@@ -9,7 +9,7 @@
 
 // Custom includes
 #include <iostream>
-#include "Socket/TCPSocketHandle.hh"
+#include "Socket/Protocols/INet/TCPSocketHandle.hh"
 #include "Utils/MicroTime.hh"
 
 //#include "testclient.mpp"
@@ -18,7 +18,7 @@
 
 int main(int argc, char** argv)
 {
-    satcom::lib::TCPv4ClientSocketHandle handle (argv[1]);
+    senf::TCPv4ClientSocketHandle handle (argv[1]);
     handle.write(argv[2]);
     handle.write(" HTTP/1.1\r\n");
     if (argc>3) {
@@ -28,10 +28,10 @@ int main(int argc, char** argv)
     }
     handle.write("\r\n");
     unsigned size = 0;
-    satcom::lib::MicroTime offset = satcom::lib::now();
+    senf::MicroTime offset = senf::now();
     while (handle) {
        size += handle.read().size();
-       std::cout << satcom::lib::now()-offset << " " << size << "\n";
+       std::cout << senf::now()-offset << " " << size << "\n";
     }
 }