4 ms·
Ask HN: Does this exist: cmux-like TCP multiplexer in Rust?
Is there a library written in Rust providing comparable functionality to the cmux golang package?
> cmux is a generic Go library to multiplex connections based on their payload. Using cmux, you can serve gRPC, SSH, HTTPS, HTTP, Go RPC, and pretty much any other protocol on the same TCP listener.
https://github.com/soheilhy/cmux
- emmelaich 5y agoDoes this help? https://github.com/yrutschle/sslh https://github.com/yrutschle/sslh "sslh accepts connections on specified ports, and forwards them further based on tests performed on the first data packet sent by the remote client."