ChatSocket.h
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:1k
源码类别:

书籍源码

开发平台:

Visual C++

  1. #if !defined(AFX_CHATSOCKET_H__AACFB15B_0B95_4E24_8C48_749DF40F4726__INCLUDED_)
  2. #define AFX_CHATSOCKET_H__AACFB15B_0B95_4E24_8C48_749DF40F4726__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ChatSocket.h : header file
  7. //
  8. class CEx126ClientDlg;
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CChatSocket command target
  11. class CChatSocket : public CSocket
  12. {
  13. // Attributes
  14. public:
  15. // Operations
  16. public:
  17. CChatSocket();
  18. virtual ~CChatSocket();
  19. // Overrides
  20. public:
  21. CChatSocket(CEx126ClientDlg* pDlg);
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CChatSocket)
  24. public:
  25. virtual void OnReceive(int nErrorCode);
  26. //}}AFX_VIRTUAL
  27. // Generated message map functions
  28. //{{AFX_MSG(CChatSocket)
  29. // NOTE - the ClassWizard will add and remove member functions here.
  30. //}}AFX_MSG
  31. // Implementation
  32. protected:
  33. private:
  34. CEx126ClientDlg* m_pDlg;
  35. };
  36. /////////////////////////////////////////////////////////////////////////////
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_CHATSOCKET_H__AACFB15B_0B95_4E24_8C48_749DF40F4726__INCLUDED_)