summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h3
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;