OSDN Git Service

net/socket_server.hpp: 3.1
authorMyun2 <myun2@nwhite.info>
Tue, 30 Nov 2010 15:56:13 +0000 (00:56 +0900)
committerMyun2 <myun2@nwhite.info>
Tue, 30 Nov 2010 15:56:13 +0000 (00:56 +0900)
roast/include/roast/net/socket_server.hpp

index ff197dd..a560680 100644 (file)
 
 namespace roast
 {
+       class socket_server_connection_base
+       {
+       public:
+               virtual void socket_server_connection_base(
+                       ) = 0;
+       };
+
        //////////////////////////////////////////////////////////
 
        template <typename _SocketImpl, typename _ConnectionImpl>
@@ -30,7 +37,7 @@ namespace roast
                                socktype = SOCK_STREAM;
                                family = AF_INET;
                                connection_max = 9999;
-                               initial_thread_pool = 100;
+                               initial_thread_pool = 10;
                        }
                }
                setup_info;
@@ -53,6 +60,8 @@ namespace roast
                {
                        m_setup_info = info;
                }
+
+               /////////////////////////////////////////////////////
                
                bool start()
                {