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:

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: https://doc.rust-lang.org/std/net/struct.TcpListener.html
Client end: https://doc.rust-lang.org/std/net/struct.TcpStream.html
Everything: https://doc.rust-lang.org/std/net/index.html

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.