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

📄 mygateway.h

📁 用c++编写的网络通信框架
💻 H
字号:
#ifndef __MYGATEWAY_H__
#define __MYGATEWAY_H__

#include "framework.h"

class CMyGateway : public CFramework
{
public:
	 CMyGateway();
	~CMyGateway();
public:
	virtual BOOL OnCreateServer(HOSTSTRUCTS& hosts__);
	virtual BOOL OnCreateClient(HOSTSTRUCTS& hosts__);
	virtual BOOL OnConnected(const HOSTSTRUCT& host__);
	virtual void OnExecuteMessage(const xuwn::MESSAGE& message);
	virtual BOOL OnRecvData(const HOSTSTRUCT& host__, xuwn::MESSAGE& msg);
};
#endif

⌨️ 快捷键说明

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