-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an example command-line app #61
Comments
I would propose as first example the same as in the initial Go version library from Hashicorp (https://github.com/hashicorp/yamux#usage). |
Example looks like a good first start to me. @hilt0n would you like to create a pull request? |
I just discovered Yamux, started diving into your lib and async Rust at the same time but once I'm more in confidence, I will try to create that. |
Cool. Let us know whenever you have questions @hilt0n! |
Thank you so much for creating yamux in Rust implementation. I need yamux CLI and made it. See some examples in REAME to know how it behaves and I keep the code simple. I hope it would help someone to use yamux in Rust. |
We should provide an example command-line tool that demonstrates using yamux. The first one that comes to mind is a socket forwarder: it listens on a socket (AF_UNIX or TCP) on one side, and multiplexes connections over stdio to its peer, which connects to a socket passed as a command-line argument.
The text was updated successfully, but these errors were encountered: