|
#if !defined(AFX_MYSOCKET_H__D6057492_E1E6_11D1_ADD3_00A02429D966__INCLUDED_)
#define AFX_MYSOCKET_H__D6057492_E1E6_11D1_ADD3_00A02429D966__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MySocket.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMySocket command target
class CMySocket : public CAsyncSocket
{
// Attributes
public:
// Operations
public:
CMySocket();
virtual ~CMySocket();
// Overrides
public:
void SetParent(CDialog* pWnd);
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMySocket)
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CMySocket)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// Implementation
protected:
virtual void OnSend(int nErrorCode);
virtual void OnClose(int nErrorCode);
virtual void OnReceive(int nErrorCode);
virtual void OnConnect(int nErrorCode);
virtual void OnAccept(int nErrorCode);
private:
CDialog* m_pWnd;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYSOCKET_H__D6057492_E1E6_11D1_ADD3_00A02429D966__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here