summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 01310aa..ce2fceb 100644
--- a/config.h
+++ b/config.h
@@ -12,6 +12,7 @@ private:
std::string m_listenAddress; // ip address v4/v6
int m_listenPort;
int m_threads;
+ int m_max_connections;
public:
Config(const std::string& config_filename = default_config_filename);
@@ -22,4 +23,6 @@ public:
int getListenPort() const;
int getThreads() const;
+
+ int getMaxConnections() const;
};