BaseSocketSendThread.h
713 Bytes
#if !defined(AFX_BASESOCKETSENDTHREAD_H__8BBA1E54_5FE7_425F_ADFC_2C6E04C7C1C7__INCLUDED_)
#define AFX_BASESOCKETSENDTHREAD_H__8BBA1E54_5FE7_425F_ADFC_2C6E04C7C1C7__INCLUDED_
class CBaseSocket;
#include "BaseThread.h"
class CBaseSocketSendThread : public CBaseThread
{
public:
CBaseSocketSendThread(); // protected constructor used by dynamic creation
~CBaseSocketSendThread();
// Operations
public:
void SetSocket(CBaseSocket* pSocket);
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual int Run();
// Implementation
protected:
CBaseSocket* m_pSocket;
};
#endif
/////////////////////////////////////////////////////////////////////////////