diff options
author | Tobias Frust <tobiasfrust@gmail.com> | 2016-06-30 15:22:07 +0200 |
---|---|---|
committer | Tobias Frust <tobiasfrust@gmail.com> | 2016-06-30 15:22:07 +0200 |
commit | 0c33319451deec9b5461b57856423bc619817245 (patch) | |
tree | 2d5be787fb4d4e052e72aaf01ccf095874c46f2e /src/UDPServer/UDPServer.cpp | |
parent | dbf28e725f062744222559257abe64d8a39a9d50 (diff) | |
download | ods-0c33319451deec9b5461b57856423bc619817245.tar.gz ods-0c33319451deec9b5461b57856423bc619817245.tar.bz2 ods-0c33319451deec9b5461b57856423bc619817245.tar.xz ods-0c33319451deec9b5461b57856423bc619817245.zip |
added classes for detector; Sending out in n different streams with n different ports
Diffstat (limited to 'src/UDPServer/UDPServer.cpp')
-rw-r--r-- | src/UDPServer/UDPServer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/UDPServer/UDPServer.cpp b/src/UDPServer/UDPServer.cpp index 854835a..3a50d0c 100644 --- a/src/UDPServer/UDPServer.cpp +++ b/src/UDPServer/UDPServer.cpp @@ -44,12 +44,12 @@ #include "UDPServer.h" - #include <string.h> - #include <unistd.h> +#include <string.h> +#include <unistd.h> - #ifndef SOCK_CLOEXEC - #define SOCK_CLOEXEC 0 - #endif +#ifndef SOCK_CLOEXEC +#define SOCK_CLOEXEC 0 +#endif UDPServer::UDPServer(const std::string& addr, int port) : f_port(port) |