Skip to content

floweryclover/simple-chat-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleChatRS

A client/server networking example using tcp socket

  • Rust 2021
  • Tokio

In this project you can see...

  • Basic TCP socket networking (bind, connect, send&receive)
  • How async functions work (async/await keyword)
    • Examples of using channels to communicate between async tasks(threads) - Neither Arc or Mutex!
    • Spawning tasks and pass variables outside of them - No not live long enough error

About

client-server TCP socket example written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages