ListenSocket.h
上传用户:sycq158
上传日期:2008-10-22
资源大小:15361k
文件大小:1k
- #if !defined(AFX_LISTENSOCKET_H__D8B37E6A_0B40_4E52_BC81_B990E51D1871__INCLUDED_)
- #define AFX_LISTENSOCKET_H__D8B37E6A_0B40_4E52_BC81_B990E51D1871__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ListenSocket.h : header file
- //
- class CBilliardsDoc;
- /////////////////////////////////////////////////////////////////////////////
- // CListenSocket command target
- class CListenSocket : public CSocket
- {
- // Attributes
- public:
- CBilliardsDoc* m_pListenDoc;
- // Operations
- public:
- CListenSocket(CBilliardsDoc* pDoc);
- virtual ~CListenSocket();
- public:
- // Overrides
- public:
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CListenSocket)
- public:
- virtual void OnAccept(int nErrorCode);
- // virtual void OnReceive(int nErrorCode);
- //}}AFX_VIRTUAL
- // Generated message map functions
- //{{AFX_MSG(CListenSocket)
- // 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_LISTENSOCKET_H__D8B37E6A_0B40_4E52_BC81_B990E51D1871__INCLUDED_)