SocketFromServer.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:1k
- #if !defined(AFX_SOCKETFROMSERVER_H__27BA8BE1_62B1_11D8_B346_0060975FFAEE__INCLUDED_)
- #define AFX_SOCKETFROMSERVER_H__27BA8BE1_62B1_11D8_B346_0060975FFAEE__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SocketFromServer.h : header file
- //
- #include "Afxsock.h"
- /////////////////////////////////////////////////////////////////////////////
- // CSocketFromServer command target
- class CProcSM;
- class CSocketFromServer : public CSocket
- {
- // Attributes
- public:
- // Operations
- public:
- CSocketFromServer();
- CSocketFromServer(CProcSM *m_pParent);
- virtual ~CSocketFromServer();
- // Overrides
- public:
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSocketFromServer)
-
- //}}AFX_VIRTUAL
- // Generated message map functions
- //{{AFX_MSG(CSocketFromServer)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- // Implementation
- protected:
- virtual void OnClose(int nErrorCode);
- virtual void OnReceive(int nErrorCode);
- private:
- CProcSM *m_pWnd;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SOCKETFROMSERVER_H__27BA8BE1_62B1_11D8_B346_0060975FFAEE__INCLUDED_)