tcpdata.h

来自「Viaual C++实战演练一书的源代码,对于C++程序员有实际的借鉴意义.」· C头文件 代码 · 共 51 行

H
51
字号
#if !defined(AFX_TCPDATA_H__E086ECC3_8485_11D0_BB17_00104BC71186__INCLUDED_)
#define AFX_TCPDATA_H__E086ECC3_8485_11D0_BB17_00104BC71186__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TcpData.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTcpSocket command target

class CDemoDoc;

class CTcpSocket : public CSocket
{
	DECLARE_DYNAMIC(CTcpSocket)

// Attributes
public:
	CDemo3Doc* m_pDoc;
// Operations
public:
	CTcpSocket(CDemo3Doc*);

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTcpSocket)
	public:
	virtual void OnReceive(int nErrorCode);
	virtual void OnClose(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CTcpSocket)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TCPDATA_H__E086ECC3_8485_11D0_BB17_00104BC71186__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?