// Custom includes
#include <iostream>
-#include "Socket/TCPSocketHandle.hh"
+#include "Socket/Protocols/INet/TCPSocketHandle.hh"
#include "Utils/MicroTime.hh"
//#include "testclient.mpp"
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) {
}
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";
}
}