stdexcept added to compile

This commit is contained in:
maliakal_d 2019-02-05 14:44:49 +01:00
parent 536c853d79
commit bb37915419
2 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#include <cstring>
#include <iostream>
#include <unistd.h>
#include <stdexcept>
#include "sls_detector_defs.h"
namespace sls {
@ -60,4 +61,4 @@ void ClientSocket::readReply(int &ret, void *retval, size_t retval_size) {
receiveData(retval, retval_size);
}
}; //namespace sls
}; //namespace sls

View File

@ -3,6 +3,7 @@
#include <arpa/inet.h>
#include <iostream>
#include <unistd.h>
#include <stdexcept>
#define DEFAULT_PACKET_SIZE 1286
#define SOCKET_BUFFER_SIZE (100 * 1024 * 1024) //100 MB
#define DEFAULT_BACKLOG 5
@ -43,4 +44,4 @@ DataSocket ServerSocket::accept() {
return DataSocket(newSocket);
}
}; //namespace sls
}; //namespace sls