NewSocket.h
上传用户:huazhu2004
上传日期:2022-06-27
资源大小:1929k
文件大小:1k
源码类别:

ICQ/即时通讯

开发平台:

Visual C++

  1. #if !defined(AFX_NEWSOCKET_H__8CE2ED73_1D56_11D3_9928_00A0C98F3E85__INCLUDED_)
  2. #define AFX_NEWSOCKET_H__8CE2ED73_1D56_11D3_9928_00A0C98F3E85__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // NewSocket.h : header file
  7. //
  8. class CTestDlg;
  9. #include <afxsock.h>
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CNewSocket command target
  12. class CNewSocket : public CSocket
  13. {
  14. // Attributes
  15. public:
  16. // Operations
  17. public:
  18. CNewSocket();
  19. virtual ~CNewSocket();
  20. // Overrides
  21. public:
  22. int m_Status;
  23. void GetDlg(CTestDlg *dlg);
  24. CTestDlg *m_dlg;
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CNewSocket)
  27. public:
  28. virtual void OnAccept(int nErrorCode);
  29. virtual void OnReceive(int nErrorCode);
  30. virtual void OnClose(int nErrorCode);
  31. //}}AFX_VIRTUAL
  32. // Generated message map functions
  33. //{{AFX_MSG(CNewSocket)
  34. // NOTE - the ClassWizard will add and remove member functions here.
  35. //}}AFX_MSG
  36. // Implementation
  37. protected:
  38. };
  39. /////////////////////////////////////////////////////////////////////////////
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_NEWSOCKET_H__8CE2ED73_1D56_11D3_9928_00A0C98F3E85__INCLUDED_)