hlmasterasyncsocket.h

来自「hl2 source code. Do not use it illegal.」· C头文件 代码 · 共 40 行

H
40
字号
// HLMasterAsyncSocket.h : header file

#define MASTER_BUFSIZE 8192

class CMasterTestDlg;
/////////////////////////////////////////////////////////////////////////////
// CHLMasterAsyncSocket command target
class CHLMasterAsyncSocket : public CAsyncSocket
{
// Attributes
public:
	BOOL bInitialized;
	CMessageBuffer * pMessageBuffer;
	CMessageBuffer * pSendBuffer;

// Operations
public:
	CMasterTestDlg *pDialog;
	CHLMasterAsyncSocket(CMasterTestDlg *pDlg);
	virtual ~CHLMasterAsyncSocket();

// Overrides
protected:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHLMasterAsyncSocket)
	virtual void OnReceive(int nErrorCode);
	virtual void OnSend(int nErrorCode);
	//}}AFX_VIRTUAL

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

// Implementation
protected:
};

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

⌨️ 快捷键说明

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