User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cpp:srv3 [2019-04-09 09:00]
ziggi
cpp:srv3 [2019-05-28 15:26] (current)
Line 11: Line 11:
 <code c++ main.cpp>​ <code c++ main.cpp>​
 /* /*
- * Copyright 2019 Oleg Borodin ​ <​borodin@unix7.org>​+ * Copyright ​2004-2019 Oleg Borodin ​ <​borodin@unix7.org>​
  */  */
  
Line 22: Line 22:
 int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
     try {     try {
-        std::size_t num_threads = 64;+        std::size_t num_threads = 10;
         server3::​server s("​0.0.0.0",​ "​1026",​ num_threads);​         server3::​server s("​0.0.0.0",​ "​1026",​ num_threads);​
         s.run();         s.run();
Line 38: Line 38:
 <code c++ server.cpp>​ <code c++ server.cpp>​
 /* /*
- * Copyright 2019 Oleg Borodin ​ <​borodin@unix7.org>​+ * Copyright ​2004-2019 Oleg Borodin ​ <​borodin@unix7.org>​
  */  */
  
Line 109: Line 109:
 <code c++ server.hpp>​ <code c++ server.hpp>​
 /* /*
- * Copyright 2019 Oleg Borodin ​ <​borodin@unix7.org>​+ * Copyright ​2004-2019 Oleg Borodin ​ <​borodin@unix7.org>​
  */  */
  
Line 148: Line 148:
 <code c++ connection.cpp>​ <code c++ connection.cpp>​
 /* /*
- * Copyright 2019 Oleg Borodin ​ <​borodin@unix7.org>​+ * Copyright ​2004-2019 Oleg Borodin ​ <​borodin@unix7.org>​
  */  */
  
Line 234: Line 234:
 <code c++ connection.hpp>​ <code c++ connection.hpp>​
 /* /*
- * Copyright 2019 Oleg Borodin ​ <​borodin@unix7.org>​+ * Copyright ​2004-2019 Oleg Borodin ​ <​borodin@unix7.org>​
  */  */