diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2023-08-12 17:53:08 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2023-08-12 17:56:57 +0200 |
commit | 7420a170928da75cb860e3fc8804416babdeec8c (patch) | |
tree | b8534f8735e770ba99683c02f06a5c126526b5a7 /src/network.h | |
parent | 07286e80ddc3d0e448401a4432dc88d4df7c7387 (diff) |
New class for network protocol implementation
Diffstat (limited to 'src/network.h')
-rw-r--r-- | src/network.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <erebos/network.h> #include "channel.h" +#include "network/protocol.h" #include <condition_variable> #include <mutex> @@ -181,7 +182,7 @@ struct Server::Priv vector<struct TransportHeader> outgoing; vector<weak_ptr<WaitingRef>> waiting; - int sock; + NetworkProtocol protocol; vector<in_addr> localAddresses; vector<in_addr> bcastAddresses; |