listening.h
来自「TCP IP 服务端与客户端示例程序」· C头文件 代码 · 共 50 行
H
50 行
#if !defined(AFX_LISTENING_H__7B5384D3_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_)
#define AFX_LISTENING_H__7B5384D3_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Listening.h : header file
//
class CTcpDlg;
/////////////////////////////////////////////////////////////////////////////
// Listening command target
class Listening : public CSocket
{
// Attributes
public:
// Operations
public:
//Listening();
Listening(CTcpDlg *pdlg);
CTcpDlg *m_dlg;
virtual ~Listening();
virtual void OnAccept( int nErrorCode );
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Listening)
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(Listening)
// 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_LISTENING_H__7B5384D3_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?