Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Latest commit

 

History

History
44 lines (37 loc) · 1.41 KB

File metadata and controls

44 lines (37 loc) · 1.41 KB

Rusty Chat

Rusty Chat is a chat server written entirely in Rust that allows various users to communicate via a remote connection.

Overview

Dependencies

Instructions

  • To see the options for the server, do:
    cd server
    cargo build
    ./target/debug/chat-server --help
    
    Mainly, running the executable with -r runs the server through the host IP, so that different machines can connect to it. The default ip is localhost
  • To see the options for the client, do:
    cd client
    cargo build
    ./target/debug/chat-client --help
    
    Running the executable alone connects to the client to localhost, otherwise an IP address can be specified as an argument

Code Architecture

  • Server
    • Take advantage of Rust’s concurrency
    • Receive/relay messages to the channel
    • Keep track of connected users
  • Client
    • Terminal chat window (GUI)
    • Let user send messages and change nickname

Contributors (aka the jaded rustaceans)

  • Emma "Crusty" Suarez
  • Megan Paik
  • Yash Palkhiwala

Acknowledgements

This project was developed as a final project for CIS 198 at the University of Pennsylvania in Fall 2018