forked from https://github.com/rna88/irrnet which lacked a proper cmake config
Go to file
rna88 bbc9bb3149 Fix issue with clients not properly disconnecting
When the client program exits it does not end its connection,
which causes the server to leave the connection active
until it times out.

* Provide the disconnect event in the client destructor.
* For easier testing, example 3 client no longer loops infinitely.
2018-03-16 03:40:45 -07:00
enet@236e8a6428 Rename examples numerically 2018-03-16 03:36:19 -07:00
examples Fix issue with clients not properly disconnecting 2018-03-16 03:40:45 -07:00
include Initial commit. 2018-03-10 20:07:10 -08:00
lib Fix issue with clients not properly disconnecting 2018-03-16 03:40:45 -07:00
source Fix issue with clients not properly disconnecting 2018-03-16 03:40:45 -07:00
zlib@cacf7f1d4e Initial commit. 2018-03-10 20:07:10 -08:00
.gitignore Fix issue with clients not properly disconnecting 2018-03-16 03:40:45 -07:00
.gitmodules Initial commit. 2018-03-10 20:07:10 -08:00
README.md Fix issue with clients not properly disconnecting 2018-03-16 03:40:45 -07:00

README.md

Irrnet

An updated version of the irrNetLite networking library compiled against recent versions of enet and zlib.

Compiling for Linux

When cloning use the --recurse-submodules flag to retrieve the enet and zlib libraries needed by the project:

git clone --recurse-submodules https://github.com/rna88/irrnet.git

Then run make in the source/ directory to build the library, which will be placed in lib/.

Building examples

Navigate to examples/ and run:

./linux_buildAllExamples.sh

or to build them with optimizations:

./linux_buildAllExamples.sh release

The compiled binaries will be found in examples/bin/.

License

Refer to source/ReadMe.txt.