GitXplorerGitXplorer
i

TcpClientServerApp

public
44 stars
10 forks
0 issues

Commits

List of commits on branch main.
Unverified
2e9367c041841e5f129364d9c7a8c2f4554ed113

Fix naming convention of types.

iiamazeem committed a year ago
Verified
bb90092fc22a9c0913edffea0a9b009066dca687

Remove redundant code, update logging with spdlog (#2)

iiamazeem committed a year ago
Verified
e9a4840746ea62a1d1231b8f904f00afd16dbe84

Bump SonarSource/sonarcloud-github-c-cpp from 1 to 2 (#1)

ddependabot[bot] committed a year ago
Verified
d41c4df9cb91705873071b201d8fa185d91926e7

Add dependabot.yml

iiamazeem committed 2 years ago
Verified
9f26b24bd9b12092ddc5d76a609efee446b44d6d

Update README.

iiamazeem committed 2 years ago
Verified
e983ed3c9732af7fb02670ff67c0d142cce5ceb4

Update README.

iiamazeem committed 2 years ago

README

The README file for this repository.

TcpClientServerApp

ci License: MIT

Sample asynchronous protocol-based TCP client and server apps using C++ and Boost::Asio

sequenceDiagram
    autonumber
    participant client
    participant server
    client-->>server: connect
    server->>client: welcome
    client->>server: command
    activate server
    note right of server: execute
    server->>client: output
    deactivate server
    client->>server: exit
    server--xclient: disconnect

Dependencies

Build

git clone --recursive git@github.com:iamazeem/TcpClientServerApp.git
cd TcpClientServerApp
cmake -S . -B build
cmake --build build

The client and server binaries will be generated under build directory:

  • ./build/server/server
  • ./build/client/client

Run

Run server on one terminal:

./build/server/server

Run client on another terminal:

./build/client/client

License

MIT