Skip to content

finjosh/cpp-Networking-Library

Repository files navigation

Networking-Library

A simple and efficient C++ networking library built using (SFML)'s networking module.

Tested with:

Linux:

- Compiler: g++
- Version: g++ (GCC) 15.1.1 20250425

Windows:

- Compiler: x86_64-w64-mingw32-g++
- Version: x86_64-w64-mingw32-g++ (GCC) 15.1.0
- Version: 3.0.0
- TGUI is used for the Socket UI and Connection Display, which are not required for the networking library to work
- Version: 1.9.0
- Built with the latest release

Class breakdown

File Brief Description Dependencies
Socket.hpp Stores data that is useful for a server or client. Derived from the SFML UDP socket. Can be derived from to create your own implementation of a client and server SFML Networking and time, cpp-Utilities(funcHelper.hpp, EventHelper.hpp, and UpdateLimiter.hpp)
Client.hpp An implementation of a client Socket.hpp
ClientData.hpp Client data that is stored in the server SFML data types
Server.hpp An implementation of a server Socket.hpp and ClientData.hpp
SocketUI.hpp UI system for connecting/hosting and displaying the connection information (only works with built-in client and server). Changing the default TGUI theme, the SocketUI will also update TGUI, Client.hpp, Server.hpp, cpp-Utilities(TerminatingFunction.hpp)

Socket UI

About

Networking library made in C++ using SFML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published