request ServerPublicInfo in ServerConnection_open()

This commit is contained in:
2025-11-15 15:26:00 +05:00
parent 0ea241c5db
commit 85c0736c8d
15 changed files with 196 additions and 70 deletions

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# 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
```