www.pudn.com > net_oss.rar > thread_pool_server.h


#ifndef __THREAD_POOL_SERVER_H__
#define __THREAD_POOL_SERVER_H__
#include "thread_pool.h"

class thread_pool_server : public thread_pool
{
	int fd;
	struct sockaddr_in serv,client;
public:
	thread_pool_server(int i, key_t key);
	void _start_listener(int port);
	void start(int port);
	int operate();
};

#endif