Skip to content

Latest commit

 

History

History
78 lines (54 loc) · 872 Bytes

README.md

File metadata and controls

78 lines (54 loc) · 872 Bytes

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 [email protected]: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