summaryrefslogtreecommitdiffstats
path: root/src/UDPServer
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-14 21:53:57 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-14 21:53:57 +0200
commitad4fef28ad3fc8b73a3bf97c229e878e8c680e16 (patch)
tree54cc43c23d0c5c6487ec20dcff419b6c5dc8fe55 /src/UDPServer
parent254f1dc9e629e9de818672174a6614c6595fb11a (diff)
downloadods-ad4fef28ad3fc8b73a3bf97c229e878e8c680e16.tar.gz
ods-ad4fef28ad3fc8b73a3bf97c229e878e8c680e16.tar.bz2
ods-ad4fef28ad3fc8b73a3bf97c229e878e8c680e16.tar.xz
ods-ad4fef28ad3fc8b73a3bf97c229e878e8c680e16.zip
Support Mellanox SocketXtreme (not tested as no support on ConnectX-3)
Diffstat (limited to 'src/UDPServer')
-rw-r--r--src/UDPServer/UDPServer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/UDPServer/UDPServer.h b/src/UDPServer/UDPServer.h
index ed0e033..60e8f19 100644
--- a/src/UDPServer/UDPServer.h
+++ b/src/UDPServer/UDPServer.h
@@ -16,6 +16,9 @@
#include <stdexcept>
#include <cstring>
+#include "../ReceiverThreads/ReceiverThreads.h"
+
+
class udp_client_server_runtime_error : public std::runtime_error
{
public:
@@ -27,6 +30,8 @@ class UDPServer
public:
UDPServer(const std::string& addr, int port);
~UDPServer();
+
+ friend ReceiverThreads;
int get_socket() const;
int get_port() const;