https://github.com/xoac/u8-selector
Example of using tokio io on single IO
https://github.com/xoac/u8-selector
Last synced: 6 months ago
JSON representation
Example of using tokio io on single IO
- Host: GitHub
- URL: https://github.com/xoac/u8-selector
- Owner: xoac
- Created: 2018-06-15T09:22:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T09:36:33.000Z (over 7 years ago)
- Last Synced: 2025-03-13T07:13:54.918Z (10 months ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of using tokio
Run server that can work with our app:
-----
```
printf 'AAAAAAABBBBBABBBBBBBBAAAABOB\r\n' | netcat -l -p 7777
```
Run application:
----
```
cargo build --examples
./target/debug/examples/selector
```
Run application with trace debug level:
-----
```
cargo build --examples
RUST_LOG=trace ./target/debug/examples/selector
```