⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientsocket.h

📁 实现pc机和安装无线CF卡的手持设备之间的通信的程序源代码
💻 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 + -