MediaServ: Update to new SENF library API
[mediaserv.git] / testclient.cc
index 1365600..f74f517 100644 (file)
@@ -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";
     }
 }