Added status resetting for REST

This commit is contained in:
2014-09-22 11:45:01 +02:00
parent b427452f39
commit e5864d4343
6 changed files with 157 additions and 86 deletions

View File

@ -6,16 +6,6 @@
/*
#include <signal.h> // SIGINT
#include <sys/stat.h> // stat
#include <sys/socket.h> // socket(), bind(), listen(), accept(), shut down
#include <arpa/inet.h> // sock_addr_in, htonl, INADDR_ANY
#include <stdlib.h> // exit()
#include <iomanip> //set precision
#include <sys/mman.h> //munmap
*/
#include <string.h>
#include <iostream>
using namespace std;
@ -35,7 +25,6 @@ UDPInterface * UDPInterface::create(string receiver_type){
cout << "Starting " << receiver_type << endl;
return new UDPStandardImplementation();
}
//#ifdef REST
else if (receiver_type == "REST"){
return new UDPRESTImplementation();