www.pudn.com > net_oss.rar > thread_pool_client.h
#ifndef __THREAD_POOL_CLIENT_H__
#define __THREAD_POOL_CLIENT_H__
#include "thread_pool.h"
void* processing(void* v);
class thread_pool_client : public thread_pool
{
char ip[16];
int serv;
struct sockaddr_in client;
void start(int){}
public:
thread_pool_client(int i, key_t key) : thread_pool(i,key){}
void start(char*, int);
friend void* processing(void* v);
};
#endif