Skip to content

Small example demonstrates using Enet, writing Lua bindings, and a simple relay server.

License

Notifications You must be signed in to change notification settings

chino/enet-c-lua-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description:

A relay server.

Data sent by a connection will be mirrored to other connections.

Server and clients provided in C and Lua.

Why?

This serves mainly as an example.

It demonstrates using Enet, binding C to Lua, and a simple relay server.

Build:

make

Server:

./chat
./chat.lua

Client:

./chat <host> <port>
./chat.lua <host> <port>

About

Small example demonstrates using Enet, writing Lua bindings, and a simple relay server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published