How Make Rust Chat Program

Hi.
I want to make a chat program.
But there is no specific document,
ex) std::net < - So what!!!
Tell me how.

thank you :slight_smile:

How about:

https://github.com/LennyBoyatzis/rust-chat

Google search is a wonderful thing.

Oh, I asked the wrong question.
The essence of the question was socket programming.
But thank you.

:slight_smile:

No worries.

Sounds like this is what you need:

Server end: TcpListener in std::net - Rust
Client end: TcpStream in std::net - Rust
Everything: std::net - Rust

If you read around those pages you will find nice little examples of how to use it.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.