www.pudn.com > chat-dialog.rar > SeverSocket.h


#if !defined(AFX_SEVERSOCKET_H__6410DEE8_E4C2_427A_A147_5403EC4B9796__INCLUDED_) 
#define AFX_SEVERSOCKET_H__6410DEE8_E4C2_427A_A147_5403EC4B9796__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// SeverSocket.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_SETNEWCLIENT WM_USER+204 
///////////////////////////////////////////////////////////////////////////// 
// CSeverSocket command target 
 
class CSeverSocket : public CSocket 
{ 
// Attributes 
public: 
	CWnd* m_pParentWnd; 
// Operations 
public: 
	CSeverSocket(); 
	virtual ~CSeverSocket(); 
 
// Overrides 
public: 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSeverSocket) 
	public: 
	virtual void OnReceive(int nErrorCode); 
	//}}AFX_VIRTUAL 
 
	// Generated message map functions 
	//{{AFX_MSG(CSeverSocket) 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
 
// Implementation 
 
	 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SEVERSOCKET_H__6410DEE8_E4C2_427A_A147_5403EC4B9796__INCLUDED_)