FiveSocket.h
Upload User: fjjkzlh
Upload Date: 2010-04-06
Package Size: 469k
Code Size: 1k
Development Platform:

Visual C++

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