An open API service indexing awesome lists of open source software.

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

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
```