ChatSock.h
资源名称:(vc).rar [点击查看]
上传用户:wpp2016
上传日期:2010-02-01
资源大小:1250k
文件大小:1k
源码类别:
Telnet服务器
开发平台:
Visual C++
- #if !defined(AFX_CHATSOCK_H__2491CCE5_FA7C_11D3_92E0_5254AB172F50__INCLUDED_)
- #define AFX_CHATSOCK_H__2491CCE5_FA7C_11D3_92E0_5254AB172F50__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ChatSock.h : header file
- //
- class CAnyServerDoc;
- /////////////////////////////////////////////////////////////////////////////
- // CChatSock command target
- class CChatSock : public CSocket
- {
- // Attributes
- public:
- // Operations
- public:
- CChatSock();
- CChatSock(CAnyServerDoc* pDoc);
- virtual ~CChatSock();
- CSocketFile* m_pFile;
- CArchive* m_pArchiveIn;
- CArchive* m_pArchiveOut;
- CAnyServerDoc* m_pDoc;
- // Overrides
- public:
- void init();
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CChatSock)
- public:
- virtual void OnReceive(int nErrorCode);
- //}}AFX_VIRTUAL
- // Generated message map functions
- //{{AFX_MSG(CChatSock)
- // 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_CHATSOCK_H__2491CCE5_FA7C_11D3_92E0_5254AB172F50__INCLUDED_)