mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-25 04:00:40 +02:00
stdexcept added to compile
This commit is contained in:
parent
536c853d79
commit
bb37915419
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user