Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 593 Bytes

File metadata and controls

34 lines (23 loc) · 593 Bytes

tcp_cpp

Simple TCP echo server and client implemented with C++

Build & Test Process

  • Debug build

    cmake -B build/debug -DCMAKE_BUILD_TYPE=Debug
    cmake --build build/debug
  • Release build

    cmake -B build/release -DCMAKE_BUILD_TYPE=Release
    cmake --build build/release
  • Start server locally

    ./build/debug/tcp_server <IPaddress> <Port>
  • Start client

    By default it is manual mode. With --auto, the client periodically (5ms) sends message count to server.

    ./build/debug/tcp_server <IPaddress> <Port> [--auto]