Skip to content

A client and server implementation using ENet

Notifications You must be signed in to change notification settings

glade0lus/enet-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENet Example

A client and server implementation using ENet.

Dependencies

Linux

Install CMake:

sudo aptitude install cmake

Install Dependencies:

sudo aptitude install clang-format
sudo aptitude install libglm-dev
sudo aptitude install libsdl2-dev
sudo aptitude install libenet-dev
sudo aptitude install libepoxy-dev

OSX

Install CMake:

brew install cmake

Install Dependencies:

brew install clang-format
brew install glm
brew install sdl2
brew install enet
brew install libepoxy

Build

Clone the repo:

git clone git@github.com:kbirk/enet-example.git

Build the Makefile:

cd enet-example
mkdir build
cd build
cmake ../

Build the executables:

make

Usage

Run the server executable:

./server

Run a client executable:

./client

About

A client and server implementation using ENet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.1%
  • CMake 5.0%
  • GLSL 1.3%
  • Other 0.6%