tcp-chat/README.md
2025-11-26 17:06:32 +05:00

33 lines
562 B
Markdown

# 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](https://timerix.ddns.net/git/Timerix/cbuild) version specified in `project.config`.
3. Build executable
```
cd tcp-chat
cbuild build_exec
```
## Usage
**Client:**
```sh
cd bin
./tcp-chat
```
**Server:**
1. ```sh
cp tcp-chat-server.config.default bin/tcp-chat-server.config
```
2. Edit config
3. ```sh
cd bin
./tcp-chat -l
```