Skip to content

togglebyte/chattery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project is a result of a viewer question from this stream.

There are some files of relevance here:

Server

  • syncmain.rs Sync version
  • main-no-username.rs Async version of syncmain.rs
  • main.rs Async with the addition of usernames

This is a multi room chat that was built to show case how you can do this. There are of course many optimisations that can be done here, this was built to demonstrate the possibilities more than anything, however I am confident that the async version should be able to handle quite a few connection.

Client

  • client-that-works-for-now.rs (reader thread, writer thread)
  • client.rs (reader writer in the same thread, sleep for 20ms)

About

We built a chat on stream, this is the result

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages