diff options
Diffstat (limited to 'src/UDPServer')
-rw-r--r-- | src/UDPServer/UDPServer.h | 5 |
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; |