https://github.com/fabiokleis/chatr
Rust tcp server and client, simple chat application
https://github.com/fabiokleis/chatr
serde-json tcp-client tcp-server
Last synced: 3 months ago
JSON representation
Rust tcp server and client, simple chat application
- Host: GitHub
- URL: https://github.com/fabiokleis/chatr
- Owner: Fabiokleis
- Created: 2023-11-27T12:05:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-10T14:23:58.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T11:46:48.228Z (6 months ago)
- Topics: serde-json, tcp-client, tcp-server
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chatr
Exploring Rust std::net crate https://doc.rust-lang.org/std/net/index.html
The project starts a tcp server listening to port 6969 and handle multiple client connections.
### Run
To start server
```
cargo run --bin server
```To start client
```
cargo run --bin client -- 127.0.0.1 6969
```