https://github.com/xialeistudio/rust-echo-server
An echo server implemented by Rust. Using channel instead of shared-memory to communicate.
https://github.com/xialeistudio/rust-echo-server
Last synced: 3 months ago
JSON representation
An echo server implemented by Rust. Using channel instead of shared-memory to communicate.
- Host: GitHub
- URL: https://github.com/xialeistudio/rust-echo-server
- Owner: xialeistudio
- License: mit
- Created: 2023-09-22T15:44:10.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-22T15:44:54.000Z (over 1 year ago)
- Last Synced: 2025-03-12T23:02:41.946Z (3 months ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Echo Server
An echo server implemented by Rust.
Using channel instead of shared-memory to communicate.
## Thread Model
+ Main Thread(1): handle events(`Connect`,`Disconnect`,`Frame`)
+ Listener Thread(1): accept new connections
+ Reader/Writer thread(2/connection): handle socket events