client.h

来自「《Visual C++经典编程大全》配套代码」· C头文件 代码 · 共 48 行

H
48
字号
#if !defined(AFX_LIENT_H__7B5384D4_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_)
#define AFX_LIENT_H__7B5384D4_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_

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


/////////////////////////////////////////////////////////////////////////////
// Client command target

class Cclient : public CSocket
{
// Attributes
public:
	void DataOperation(CString strData);

// Operations
public:
	Cclient();
	virtual ~Cclient();
	virtual void OnReceive( int nErrorCode );
	bool SendData(CString strData);

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Client)
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(Client)
		// 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_LIENT_H__7B5384D4_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_)

⌨️ 快捷键说明

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