netordering just say to constructor which ports he should listen and parse requests in any way you want Build it $ cmake -S . -B build -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_STANDARD=20 $ cd build && make -j 8