www.pudn.com > chat-dialog.rar > ClientSocket.h, change:2005-12-15,size:1392b


#if !defined(AFX_CLIENTSOCKET_H__A4032076_2B14_4703_B61F_0A9796A9347F__INCLUDED_) 
#define AFX_CLIENTSOCKET_H__A4032076_2B14_4703_B61F_0A9796A9347F__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ClientSocket.h : header file 
// 
 
#define WM_UPDLGDATA WM_USER+200 
#define WM_CLOSESOCK WM_USER+201 
#define WM_SETNEWSOCKET WM_USER+202 
#define WM_CLOSECLIENT WM_USER+203 
#define WM_ALLARM WM_USER+204 
///////////////////////////////////////////////////////////////////////////// 
// CClientSocket command target 
 
class CClientSocket : public CSocket 
{ 
// Attributes 
public: 
 
// Operations 
public: 
	CClientSocket(); 
	virtual ~CClientSocket(); 
 
// Overrides 
public: 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CClientSocket) 
	public: 
	virtual void OnReceive(int nErrorCode); 
	//}}AFX_VIRTUAL 
 
	// Generated message map functions 
	//{{AFX_MSG(CClientSocket) 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
 
// Implementation 
protected: 
public: 
	CWnd* m_pParentSock; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CLIENTSOCKET_H__A4032076_2B14_4703_B61F_0A9796A9347F__INCLUDED_)