All Projects → jwcpp → jwEngine

jwcpp / jwEngine

Licence: other
A cross-platform C++<->lua server quick solution

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
lua
6591 projects
python
139335 projects - #7 most used programming language
Batchfile
5799 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to jwEngine

Gameproject3
游戏服务器框架,网络层分别用SocketAPI、Boost Asio、Libuv三种方式实现, 框架内使用共享内存,无锁队列,对象池,内存池来提高服务器性能。还包含一个不断完善的Unity 3D客户端,客户端含大量完整资源,坐骑,宠物,伙伴,装备, 这些均己实现上阵和穿戴, 并可进入副本战斗,多人玩法也己实现, 持续开发中。
Stars: ✭ 655 (+189.82%)
Mutual labels:  game-server, gameserver, libuv
Mirror
#1 Open Source Unity Networking Library
Stars: ✭ 2,905 (+1185.4%)
Mutual labels:  tcp, kcp, libuv
Shineframe
高性能超轻量级C++开发库及服务器编程框架
Stars: ✭ 274 (+21.24%)
Mutual labels:  serialization, tcp
Hprose Nodejs
Hprose is a cross-language RPC. This project is Hprose 2.0 for Node.js
Stars: ✭ 297 (+31.42%)
Mutual labels:  serialization, tcp
Hprose Html5
Hprose is a cross-language RPC. This project is Hprose 2.0 Client for HTML5
Stars: ✭ 237 (+4.87%)
Mutual labels:  serialization, tcp
Qtnetworkng
QtNetwork Next Generation. A coroutine based network framework for Qt/C++, with more simpler API than boost::asio.
Stars: ✭ 125 (-44.69%)
Mutual labels:  tcp, kcp
Pss
This is a based plug-in framework that provides cross-platform IO and logically separated plug-in services.
Stars: ✭ 219 (-3.1%)
Mutual labels:  tcp, game-server
Hprose Js
Hprose is a cross-language RPC. This project is Hprose 2.0 RPC for JavaScript
Stars: ✭ 133 (-41.15%)
Mutual labels:  serialization, tcp
Uv Cpp
libuv wrapper in C++11 /libuv C++11网络库
Stars: ✭ 480 (+112.39%)
Mutual labels:  tcp, libuv
libuvpp
minimal change of libuv for p2p networking
Stars: ✭ 22 (-90.27%)
Mutual labels:  kcp, libuv
ctf-gameserver
FAUST Gameserver for attack-defense CTFs
Stars: ✭ 38 (-83.19%)
Mutual labels:  game-server, gameserver
GenericProtocol
⚡️ A fast TCP event based buffered server/client protocol for transferring data over the (inter)net in .NET 🌐
Stars: ✭ 38 (-83.19%)
Mutual labels:  serialization, tcp
Gsnova
Private proxy solution & network troubleshooting tool.
Stars: ✭ 509 (+125.22%)
Mutual labels:  tcp, kcp
Rsock
The best companion of kcptun
Stars: ✭ 242 (+7.08%)
Mutual labels:  tcp, libuv
Yasio
A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client application.
Stars: ✭ 483 (+113.72%)
Mutual labels:  tcp, kcp
Jstp
Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
Stars: ✭ 132 (-41.59%)
Mutual labels:  serialization, tcp
nysocks
Nysocks binds kcp and libuv to provide an aggressive tcp tunnel in nodejs.
Stars: ✭ 78 (-65.49%)
Mutual labels:  kcp, libuv
Game Server Configs
A repo of game server configuration files used by LinuxGSM
Stars: ✭ 157 (-30.53%)
Mutual labels:  game-server, gameserver
ccxx
This is a cross-platform library software library about c, c ++, unix4, posix. Include gtest, benchmark, cmake, process lock, daemon, libuv, lua, cpython, re2, json, yaml, mysql, redis, opencv, qt, lz4, oci ... https://hub.docker.com/u/oudream
Stars: ✭ 31 (-86.28%)
Mutual labels:  tcp, libuv
pigame
Just a game server template for Erlang/OTP.
Stars: ✭ 25 (-88.94%)
Mutual labels:  game-server, gameserver

jwEngine

一个跨平台的c++<->lua服务器快速解决方案,该框架即可快速响应服务器开发工作,设计思想:“让事情变得更简单”
A cross platform C + + < - > Lua server fast solution, the framework can quickly respond to the server development work, the design idea: "make things easier"

c++ tcp server

class INetEvent : public NetEvent
{
public:
    virtual void onAccept(NetConnect * conn){}
    virtual void onClose(NetConnect * conn){}
    virtual void onMsg(NetConnect * conn, int msgtype, NetPacket * pack){}
};

int main()
{
    EventLoop::Instance()->init();

    INetEvent eve;
    NetServer server(EventLoop::Instance(), &eve);
    server.listen("127.0.0.1", 3001);

    return EventLoop::Instance()->run();
}

lua tcp server

event_init()

server = NetServer:new()
server.on_accept = function(conn)
end

server.on_close = function(conn)
end

server.on_msg = function(conn, msgtype, pack)
end

server:listen("127.0.0.1", 3001, false)

event_run()

start run

base process cell process db process
start engine.exe base.lua start engine.exe cell.lua start engine.exe db.lua

serialization

The serialization tool provided is experimental and may be fragile. It is recommended to use more powerful protobuf

Integrated open source library

libuv
sol2
concurrentqueue
lua
hiredis
kcp
lua-protobuf
http-parser
llhttp

Learn more

For more examples, please refer to example

我的另一个项目:jwServer

有任何建议、BUG、疑问,统一解决QQ群:458421068
My email: [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].