CPP-Easy-Socket icon indicating copy to clipboard operation
CPP-Easy-Socket copied to clipboard

An easy to use, higher abstraction socket class for usage in C++.

C++ Easy Socket

The “C++ Easy Socket” project was developed to make networking projects easier by hiding all of the messy difficult stuff. It provides a higher-level of abstraction without compromising portability in regards to libraries. Though it was built on a Linux system, Windows support has been added. In the recent update 1.1, server-sided functionality was also added. This project is for TCP connections, and currently does not support UDP specifically.

Motivation

This class was originally implemented for an IRC client I was creating in C++. After seeing all the code and messing around it took to use sockets, I decided to write my own class. After I implemented the program it occurred to me this might be of use to others. It’s by no means perfect, but improvements will be made over time.

Latest Version

The latest version for this project is 1.2. For more information on the 1.2 update, check the changelog.txt in /docs.

Requirements

This project does not require any external libraries, all you need is gcc/g++ or any other compiler to compile the source code.

License

C++ Easy Socket is distributed under the Apache License, meaning you are free to modify, distribute, and use for commercial/private use, however the developers of C++ Easy Socket will not be held liable. For more information, please view the Apache 2.0 license before distribution or modification.

More Documentation

Additional documentation can be found in /docs. The PDF will be updated with any changes made to the library. The code is also heavily documented via comments.