https://github.com/prophetru/bulkcmdasyncserver
Educational project
https://github.com/prophetru/bulkcmdasyncserver
asio async boost cmake conditional coroutines cpp cpp20 doxygen gtest mutex otus queue server variables
Last synced: 6 months ago
JSON representation
Educational project
- Host: GitHub
- URL: https://github.com/prophetru/bulkcmdasyncserver
- Owner: ProphetRu
- License: apache-2.0
- Created: 2024-04-26T14:38:02.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T14:50:43.000Z (almost 2 years ago)
- Last Synced: 2025-02-17T22:34:44.205Z (12 months ago)
- Topics: asio, async, boost, cmake, conditional, coroutines, cpp, cpp20, doxygen, gtest, mutex, otus, queue, server, variables
- Language: C++
- Homepage:
- Size: 259 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BulkCmd Async Server
Educational project with [googletest](https://github.com/google/googletest), [doxygen](https://github.com/doxygen/doxygen) and [boost asio](https://github.com/boostorg/asio).
## Build local Linux
```shell
sudo apt-get update && sudo apt-get install cmake libgtest-dev libboost-all-dev -y
cd BulkCmdAsyncServer
mkdir build && cd build
cmake ..
# build release
cmake --build . --config Release
# build deb-package
cmake --build . --target package
```
## Build local Windows
```shell
vcpkg install gtest boost-asio boost-system
vcpkg integrate install
cd BulkCmdAsyncServer
mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE="path/to/vcpkg/scripts/buildsystems/vcpkg.cmake"
# build release
cmake --build . --config Release
```
## Usage
```shell
BulkCmdAsyncServer
seq 0 9 | nc 127.0.0.1
```