📄 clientsocket.h
字号:
#ifndef __CLNTSOCK_H__
#define __CLNTSOCK_H__
class CSnifferDlg;
class CClientSocket;
#if defined(_WIN32_WCE)
class CClientSocket : public CCeSocket
#else // _WIN32_WCE
class CClientSocket : public CSocket
#endif // _WIN32_WCE
{
DECLARE_DYNAMIC(CClientSocket);
private:
CClientSocket(const CClientSocket& rSrc); // no implementation
void operator=(const CClientSocket& rSrc); // no implementation
// Construction
public:
#if defined(_WIN32_WCE)
CClientSocket(CSnifferDlg* pDoc, PURPOSE_E iPurpose=FOR_DATA);
#else // _WIN32_WCE
CClientSocket(CSnifferDlg* m_pDoc);
#endif // _WIN32_WCE
// Attributes
public:
CSnifferDlg* m_pDlg;
// Operations
public:
void SendMsg(char pMsg);
void ReceiveMsg(char *pMsg);
// Overridable callbacks
protected:
virtual void OnReceive(int nErrorCode);
#if defined(_WIN32_WCE)
virtual void OnClose(int nErrorCode);
#endif // _WIN32_WCE
// Implementation
public:
virtual ~CClientSocket();
};
#endif // __CLNTSOCK_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -