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

📄 tcpsocket.h

📁 串口转TCPIP 实用程序,很实用的代码和code,我们可以学习串口和tcp ip的原理
💻 H
字号:
#pragma once

// CTcpSocket command target
class CItem;

class CTcpSocket : public CAsyncSocket
{
public:
	CTcpSocket();
	virtual ~CTcpSocket();

	CItem* m_pParentItem;
	int	   m_iKind;	//1: data_main   3: debug_main    2:date_listen    4:debug_listen    5: temp
public:
	virtual void OnSend(int nErrorCode);
	virtual void OnAccept(int nErrorCode);
	virtual void OnReceive(int nErrorCode);
	virtual void OnClose(int nErrorCode);
};


⌨️ 快捷键说明

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