Update receiving_messages.md

pull/100/head
Stjepan Glavina 5 years ago committed by GitHub
parent c9d8b197ca
commit c61f4c8b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,6 +8,7 @@ We need to:
3. parse the rest of the lines as a `login: message` 3. parse the rest of the lines as a `login: message`
```rust ```rust
use async_std::io::BufReader;
use async_std::net::TcpStream; use async_std::net::TcpStream;
async fn server(addr: impl ToSocketAddrs) -> Result<()> { async fn server(addr: impl ToSocketAddrs) -> Result<()> {

Loading…
Cancel
Save