From 7420a170928da75cb860e3fc8804416babdeec8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 12 Aug 2023 17:53:08 +0200 Subject: New class for network protocol implementation --- src/network.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/network.h') diff --git a/src/network.h b/src/network.h index 1c1bb57..c242ac5 100644 --- a/src/network.h +++ b/src/network.h @@ -3,6 +3,7 @@ #include #include "channel.h" +#include "network/protocol.h" #include #include @@ -181,7 +182,7 @@ struct Server::Priv vector outgoing; vector> waiting; - int sock; + NetworkProtocol protocol; vector localAddresses; vector bcastAddresses; -- cgit v1.2.3