async-rs / async-rs/async-std

How to read TCP?

Open
#1,054 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

[This example](https://docs.rs/async-std/latest/async_std/net/struct.TcpListener.html#method.incoming) only shows to write a byte slice to stream, but how to read from the stream?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.