{"id":19764854,"url":"https://github.com/pablonicolla/cpp_webserver","last_synced_at":"2025-02-28T03:45:13.262Z","repository":{"id":238925963,"uuid":"785940213","full_name":"PabloNicolla/Cpp_webserver","owner":"PabloNicolla","description":"This project is a lightweight and highly customizable framework for TCP communication between client and server. Built using C++20 and ASIO.","archived":false,"fork":false,"pushed_at":"2024-10-09T05:39:38.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T00:09:19.009Z","etag":null,"topics":["asio-library","async","cpp20"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PabloNicolla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-13T00:48:22.000Z","updated_at":"2024-10-09T05:41:29.000Z","dependencies_parsed_at":"2024-05-08T23:28:57.630Z","dependency_job_id":"033bdccd-f01b-45e2-824a-94153ccbeebe","html_url":"https://github.com/PabloNicolla/Cpp_webserver","commit_stats":null,"previous_names":["pablonicolla/cpp_webserver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloNicolla%2FCpp_webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloNicolla%2FCpp_webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloNicolla%2FCpp_webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloNicolla%2FCpp_webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloNicolla","download_url":"https://codeload.github.com/PabloNicolla/Cpp_webserver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241096281,"owners_count":19908951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asio-library","async","cpp20"],"created_at":"2024-11-12T04:15:29.450Z","updated_at":"2025-02-28T03:45:13.243Z","avatar_url":"https://github.com/PabloNicolla.png","language":"C++","readme":"# TCP Client-Server Communication Framework (C++20, ASIO)\n\nThis project is a lightweight and highly customizable framework for TCP communication between client and server. Built using C++20 and ASIO, it provides secure client authentication via challenge/response and guarantees efficient message ordering and processing with low server resource utilization.\n\n## Features\n\n- **Header-Only Design**: Easy to integrate into any project by simply including the relevant headers.\n- **Client-Side Challenge**: The server requires clients to solve a challenge upon connection, ensuring only valid clients can communicate.\n- **Generic Message Handling**: Message types are customizable using C++ templates, allowing flexibility for different applications.\n- **Thread-Safe Message Queue**: A custom queue ensures that incoming and outgoing messages are processed in the correct order.\n- **Asynchronous Operations**: Fully asynchronous, leveraging mutexes to maintain message order while utilizing a single CPU core efficiently.\n- **Memory Management**: Smart pointers guarantee no memory leaks, even in multi-threaded environments.\n- **Smart Wait**: Reduces server utilization to zero during idle periods, awakening only when new messages are received.\n- **Multiplayer Ready**: Ideal for multiplayer games or real-time applications where multiple clients need to communicate with a single server.\n\n## Use Cases\n\n- Multiplayer games where the server coordinates messages between multiple clients.\n- Any application requiring secure client-server communication with minimal resource usage and efficient message handling.\n\n## Requirements\n\n- C++20 compiler\n- ASIO (Asynchronous I/O)\n\n## Installation\n\n- clone the repository\n- add ASIO `\\include` path address to project `Include Directories`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablonicolla%2Fcpp_webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablonicolla%2Fcpp_webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablonicolla%2Fcpp_webserver/lists"}