Giter VIP home page Giter VIP logo

text-chatroullette's Introduction

CS 513 Project 1 - Text ChatRoullette Adam Chaulk and Yang Lu

Compile: To compile the code, navigate to the root directory of the project and type "make all." You can also run "make clean" to remove the binaries and object files.

Running the Server: To run the server, run the executable by typing "./server". This will open the administrator shell. To start the server, allowing other users to connect, you must type "/start". While running, the admin has the option to enter the following commands: "/stats" - creates a log file under the "log" directory containing information about the TRS server "/throwout " - kicks out the user from the current chat session "/block " - user cannot start another chat "/unblock " - unblocks the user from chatting "/end" - destroys chat channels and informs clients that their session has ended.

Running the client: To run the client program, run the executable by typing "./client". This opens the shell for the user to type in. To connect to a server, you must type "/connect ". Once connected to a server, the user can input the following commands: "/chat" - informs the TRS that the user wishes to be paired with another user to chat "/quit" - quits the current chat channel and puts them back in the queue "/transfer <path/to/file>" - transfers the specified file to the chat partner if the size is under 100 MB "/flag" - flags the user, in forming the TRS that the partner is misbehaving "/help" - lists commands the client can enter

text-chatroullette's People

Contributors

acchaulk avatar luyangco avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.