Commit 68cecfc7 authored by Seblu's avatar Seblu
Browse files

Add thread count in server

SLS mark is version in testing and write build date
parent 7802f57b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
/*!
 * Constructor
 */
Server::Server() : socket_(0) {}
Server::Server() : socket_(0), thread_count_(0) {}

/*!
 * Start server. Creating socket
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ private:

  int socket_;
  size_t max_thread_;
  size_t thread_count_;
};

#endif
+3 −1
Original line number Diff line number Diff line
@@ -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