1 Star 8 Fork 3

xyry / libXEngine

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
Notice: Creating folder will generate an empty file .keep, because not support in Git

中文 || English


Network development kit, network communication engine, network communication middleware,Network communication development framework

Now Version is



You should read README.md(English:README.en.md) first. If you can, please read XEngine_Docment/开发人员必读.docx
It is recommended to use Arial, read the update history
For more content,please visit our website: www.xyry.org


XEngine is a network communication development framework based on C/C++ development, it is a cross-platform stable and reliable network development framework. You can quickly deploy your application environment on this engine. This engine not only encapsulates high-performance API functions, but also encapsulates the underlying network IO and network application and protocol-related interfaces. You can use this SDK to quickly deploy and develop large or small and medium-sized application servers and other network and communication-related applications
You can use this SDK to develop any network and communication programs or services you want, including but not limited to: chat service, video conference, voice conference, file service, remote monitoring, log service, HTTP service, proxy service, data forwarding Services, messaging services, security verification, streaming media services, audio and video codec, P2P and other related tools and services development
XEngine is a complete set of development kits related to network communication and backend servers.He provides a development library for the entire back-end service life cycle,He solves a series of complex problems from the network IO layer to the application layer, including performance problems

Software goals

After learning this set of development communication engine, in your future work and study, you will find that the development of network communication-related applications is very easy and happy, and there will be no troubles. It almost contains all the API function packages related to network communication.
This development kit uses the export of C mode uniformly, and the functions between modules can be used independently or all. You can choose the module to use according to your needs.
We have comprehensive technical support, you can ask us questions if you have any questions, and we will do our best to help for you
Now, let's start learning this engine...

Deployment environment

We recommend you to use git tool download and update
git clone https://gitee.com/xyry/libxengine.git
git clone https://github.com/libxengine/xengine.git


After the download is complete, you can directly run the XEngine_WINEnv.bat file in the home directory
After the execution is successful, the user environment variable of this directory will be added to your system
Add $(XEngine_Include) to the include directory of your project of properties of VC++ directory, add $(XEngine_Library) to the library directory or x86 add:$(XEngine_Lib32),x64 add:$(XEngine_Lib64)
Note: The x86 version will be removed after the V8 version, please try to use X64.


open terminal
cd libxengine
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3
the script can be run by self

System Version

load header file:
#include <pch.h> //Precompiled, Windows may require
#include <XEngine_CommHdr.h>
#include <XEngine_Types.h> //linux need
#include <XEngine_ProtocolHdr.h> //maybe need
#include <XEngine_Include/components_dir/moduename_Define.h>
#include <XEngine_Include/components_dir/moduename_Error.h>


WINDOWS:release version has 32bit and 64bit,You can load as needed,These two versions cannot be used in common, the SDK we released is now based on ANSI character encoding
When using our library under WINDOWS, you need to enable WSAStartup(MAKEWORD(2,2),&st_WSAData) when you program start and use WSAClean() when your program destory to use our network library
link to the library,sush as base library:#pragma comment(lib,"XEngine_BaseLib/XEngine_BaseLib")

Runtime library

The software we release is compiled using MD. The runtime library of VS2022 is required
Most of the time, the runtime library is already installed on the system, if not, then we recommend that you install it


LINUX:Only supports BIT64 bit system. We provide an environment to run the installation script, the installation script is based on Centos 8_x64 and Ubuntu20.04_x64. Our software supports RedHat, Centos, Ubuntu and Debian. If you are not using these systems, then you need to check our dependent libraries and install them, Here: We recommend that you use Centos8 or Ubuntu20.04 or higher. you can view the installation method through the -h parameter of the installation script. Note: UBUNTU (DEBIAN) and CENTOS (REDHAT) cores are separate, It is currently not compatible at the same time.link to the library,sush as base library:-L ../../../XEngine/XEngine_Release/XEngine_Linux/Ubuntu/XEngine_BaseLib -lXEngine_BaseLib

Directory Structure

*libxengine SDK Release dir

  • XEngine_Windows WINDOWS Release version folder
    • --x64 64bit DLL
      * --XEngine_* Components folder,include dll and lib...
    • --x86 32bit DLL
      * same to 64bit
  • XEngine_Linux LINUX release version folder
    • --Centos Centos System Version
      * --XEngine_* Components folder,include so file
    • --Ubuntu Ubuntu System Version
      * same to centos
  • XEngine_Mac MacOS System Release version folder
    • --XEngine_* Module Folder
  • XEngine_Include Header Folder
    • --XEngine_CommHdr.h Public header file
    • --XEngine_Types.h Cross-platform function conversion definition header file
    • --XEngine_ProtocolHdr.h protocol header
    • --XEngine_* Components Header
  • XEngine_Docment Docment Dir
    • --SDK服务协议.docx Protocol Docment
    • --开发人员必读.docx Xengine docment
    • --开发文档.docx develop docment
    • --结构图
  • XEngine_LibPath.conf Linux Module Configure File
  • XEngine_LINEnv.sh Linux Env XEngine Install Configure Script
  • XEngine_WINEnv.bat Windows Env XEngine Install Configure Script
  • CHANGELOG Latest version update instructions
  • HOSTORY update history
  • COPYRIGHT Third-party library copyright notice
  • LICENSE XEngine copyright notice

Join us

Not fully open, only available to internal members.
To join the development, you need to apply first. You can join after the assessment

Software Architecture

软件架构图 引擎模块图

components struct picture

音视频编解码组件结构图 基础组件结构图 客户端组件结构图 核心组件结构图 帮助组件结构图 网络组件结构图 标准组件结构图 流媒体组件结构图 系统组件结构图 图形图像组件结构图

Repository Comments ( 0 )

Sign in to post a comment


XEngine 网络通信引擎 XEngine 网络中间件 XEngine 网络通信开发框架 expand collapse


No release





Load More
can not load any more


101014 b92fc32e 1850385 101014 af024cb7 1850385