www.pudn.com > 3.rar > ChatSocket.h


#if !defined(AFX_CHATSOCKET_H__3B855E87_771B_40B4_80B1_36740C4AE314__INCLUDED_) 
#define AFX_CHATSOCKET_H__3B855E87_771B_40B4_80B1_36740C4AE314__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ChatSocket.h : header file 
// 
 
class CChatClientDoc; 
 
///////////////////////////////////////////////////////////////////////////// 
// CChatSocket command target 
 
class CChatSocket : public CSocket 
{ 
	DECLARE_DYNAMIC(CChatSocket) 
// Attributes 
public: 
	CChatClientDoc* m_pDoc; 
	CChatSocket(CChatClientDoc* pDoc); 
// Operations 
public: 
	CChatSocket(); 
	virtual ~CChatSocket(); 
 
// Overrides 
public: 
	virtual void OnReceive(int nErrorCode); 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CChatSocket) 
	//}}AFX_VIRTUAL 
 
	// Generated message map functions 
	//{{AFX_MSG(CChatSocket) 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
 
// Implementation 
protected: 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CHATSOCKET_H__3B855E87_771B_40B4_80B1_36740C4AE314__INCLUDED_)