tcp-chat/README.md

30 lines
520 B
Markdown

# tcp-chat
## Build
1. Clone the 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).
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
```