📄 listeningsocket.h
字号:
#ifndef __LSTNSOCK_H__
#define __LSTNSOCK_H__
class CSnifferDlg;
#if defined(_WIN32_WCE)
class CListeningSocket : public CCeSocket
#else // _WIN32_WCE
class CListeningSocket : public CSocket
#endif // _WIN32_WCE
{
DECLARE_DYNAMIC(CListeningSocket);
private:
CListeningSocket(const CListeningSocket& rSrc); // no implementation
void operator=(const CListeningSocket& rSrc); // no implementation
// Construction
public:
#if defined(_WIN32_WCE)
CListeningSocket( CSnifferDlg* pDoc, PURPOSE_E iPurpose=FOR_LISTENING );
#else // _WIN32_WCE
CListeningSocket(CSnifferDlg* pDoc);
#endif // _WIN32_WCE
// Attributes
public:
CSnifferDlg* m_pDlg;
// Overridable callbacks
protected:
virtual void OnAccept(int nErrorCode);
// Implementation
public:
virtual ~CListeningSocket();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
};
#endif // __LSTNSOCK_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -