资 源 简 介
QGServerLib是一个C++实现的简单易用的Tcp服务器框架库,旨在简化服务器的构建过程。具有如下特点:
1, 以模块化的处理池为基本构建元素,能够方便的实现安全稳定的服务架构。
2,事件触发,多线程事件监听,任务化读写访问,解决单线程监听及数据读写带来的性能瓶颈,连接不受线程数限制。
3,写队列,并行读写逻辑,支持服务器数据推送(Push)。
4,数据传送协议,避免数据传送错误,封装数据流。
5,类远过程调用。
6,提供相配套的ActionScript脚本客户端。能够方便的实现网页实时通讯,解决传统网页通讯的消息轮询问题。
QGServerLib is a easy-to-use C + + framework for Tcp server to simplify the building process.
With the following characteristics:
1, The basic element of server is modular handling pool that can facilitate the realization of security and stability of the system.
2,With Event-triggered, multi-threaded event listener and the task of read-write access, solute single-threaded reading and writing performance bottleneck. Connection is out of the thread limit.
3,Write queue, parallel reading and writing and support for server data push.
4,Use Data transfer protocol to avoid data transmission errors and package data flow.