Skip to content

finjosh/cpp-Networking-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Networking-Library

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

Tested with:

  • Compiler: MSYS2
  • Version: g++.exe (Rev3, Built by MSYS2 project) 12.1.0
  • Version: 2.6.1
  • TGUI is used for the Socket UI and Connection Display, which are not required for the networking library to work
  • Version: 1.3
  • 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