Commit 530b9542 authored by Günter Windau's avatar Günter Windau
Browse files

up to date ledd.cc

parent 20f8d01b
......@@ -5,7 +5,6 @@
//
//#include <termios.h>
//#include <unistd.h>
#include <iostream>
#include <memory>
#include <iomanip>
#include <azmq/socket.hpp>
......@@ -106,11 +105,13 @@ int main(int argc, const char* argv[])
while (true)
{
// Wait for next request from client
//char request[4096];
std::array<char,4096> request;
// Wait for next request from client
socket.receive(asio::buffer(request));
std::string str(request.data());
std::string str(request.data());
//const char* str=request.data();
if (verbose)
cout << "Received: " << str << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment