Go to file
2025-11-27 01:46:44 +05:00
.vscode added tlibtoml submodule 2025-11-27 01:46:44 +05:00
dependencies added tlibtoml submodule 2025-11-27 01:46:44 +05:00
include/tcp-chat added tlibtoml submodule 2025-11-27 01:46:44 +05:00
src added tlibtoml submodule 2025-11-27 01:46:44 +05:00
.gitignore initial commit 2025-07-18 22:24:05 +03:00
.gitmodules added tlibtoml submodule 2025-11-27 01:46:44 +05:00
project.config added tlibtoml submodule 2025-11-27 01:46:44 +05:00
project.config.user.default update to cbuild 2.3.1 2025-11-12 23:52:36 +05:00
README.md added tlibtoml submodule 2025-11-27 01:46:44 +05:00
tcp-chat-server.toml.default added tlibtoml submodule 2025-11-27 01:46:44 +05:00

tcp-chat

Build

  1. Clone this repository with submodules.

    git clone --recurse-submodules --depth 0 https://timerix.ddns.net/git/Timerix/tcp-chat.git
    
  2. Install cbuild. Select latest version compatible with the one in project.config. Example: For 2.3.0 download latest 2.3.x.

  3. Build executable

    cd tcp-chat
    cbuild build_exec
    

Usage

Client:

cd bin
./tcp-chat

Server:

  1. cp tcp-chat-server.toml.default bin/tcp-chat-server.toml
    
  2. Edit config
  3. cd bin
    ./tcp-chat -l