Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsturtevant/mio-namedpipe-rs
https://github.com/jsturtevant/mio-namedpipe-rs
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jsturtevant/mio-namedpipe-rs
- Owner: jsturtevant
- License: mit
- Created: 2023-01-19T04:12:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T17:15:42.000Z (about 2 years ago)
- Last Synced: 2024-11-27T13:44:14.611Z (2 months ago)
- Language: Rust
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mio-namedpipe-rs
sample application to learn rust, mio and namedpipes
Run the server:
```powershell
cargo runRunning `target\debug\np-windows-rust.exe`
Hello, server!
waiting for connection....
```Run client (even multiple at same time):
```powershell
cargo run -p client
Running `target\debug\client.exe`
Hello, client!
Wrote to pipe
Read from pipe: Ok("pong-1\0\0\0\0")
Wrote to pipe
Read from pipe: Ok("pong-2\0\0\0\0")
Wrote to pipe
```### helpful commands
```
cargo clippy --fix --all
cargo fmt --all
```