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


#if !defined(AFX_LISTENINGSOCKET_H__3DD3E013_A689_40C3_AED8_0A763545F5EB__INCLUDED_) 
#define AFX_LISTENINGSOCKET_H__3DD3E013_A689_40C3_AED8_0A763545F5EB__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ListeningSocket.h : header file 
// 
 
class CChatServerDoc; 
 
///////////////////////////////////////////////////////////////////////////// 
// CListeningSocket command target 
 
class CListeningSocket : public CSocket 
{ 
	DECLARE_DYNAMIC(CListeningSocket) 
// Attributes 
public: 
	CChatServerDoc* m_pDoc; 
// Operations 
public: 
	CListeningSocket(); 
	virtual ~CListeningSocket(); 
	CListeningSocket(CChatServerDoc* pDoc); 
 
// Overrides 
public: 
	virtual void OnAccept(int nErrorCode); 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CListeningSocket) 
	//}}AFX_VIRTUAL 
 
	// Generated message map functions 
	//{{AFX_MSG(CListeningSocket) 
		// 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_LISTENINGSOCKET_H__3DD3E013_A689_40C3_AED8_0A763545F5EB__INCLUDED_)