Skip to content

About

Chat for 5 clients

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Installation and running instructions:

  1. Make sure you have python installed.
  2. Run server.py.
  3. Run multiple instances of client.py (up to 5).
  4. Each client is required to give an id
  5. Each client is presented with a menu. “1” for requesting connection, “2” for exit and “3” for the common room.
  6. When requesting connection, enter the id of the desired client to converse with.
  7. When entering the desired client, and the client is free, the client will receive a notification for the request and he can accept with “y” or refuse with “n”.
  8. If the client accepts, a chat will commence and each message from either client will be sent to the other client.
  9. To close the chat and return to the menu, one of the clients needs to type “exit()”.
  10. In the common room, more than 2 clients can enter, and every message will be broadcasted to all the clients in the common room.

About

Chat for 5 clients

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages