Commit 68cecfc7 authored by Seblu's avatar Seblu

Add thread count in server

SLS mark is version in testing and write build date
parent 7802f57b
......@@ -22,7 +22,7 @@
/*!
* Constructor
*/
Server::Server() : socket_(0) {}
Server::Server() : socket_(0), thread_count_(0) {}
/*!
* Start server. Creating socket
......
......@@ -40,6 +40,7 @@ private:
int socket_;
size_t max_thread_;
size_t thread_count_;
};
#endif
......@@ -50,7 +50,9 @@ enum {
// Gonstant
// -----------------------------------------------------------------------------
static const string VERSION = "1.0";
static const string VERSION = (string) "Testing.\nBuild at " + __DATE__ + " " + __TIME__ + ".";
//static const string VERSION = "1.0";
static const int MAX_LINE_SIZE = 512;
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment