Skip to content

justin-gill/socket-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket Chat Room

  • A simple chat room written in Rust. The goal of this project is to learn how to use Rust's std::net library to create a simple chat room.

Features

  • Multiple clients can connect to the server.
  • Messages are broadcasted to all other clients.
  • Clients are provided with a unique ID.

Pre-requisites

  • Rust
  • Cargo

How to run

  1. Clone the repository
  2. Run the server
cargo run --bin server port username_length
  1. Start a client
cargo run --bin client port

Screenshot

About

A Chat Room written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages