Skip to content

The Project is build on Python. It is a simple chat application using socket programming for multiple chat room

License

Notifications You must be signed in to change notification settings

cmkhaledsaifullah/USASK_Socket_Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USASK_Socket_Chat

The Project is build on Python. It is a simple chat application using socket programming for multiple chat room The Project is build on python using socket programming.

Get Started

Its a Multiple chat room app. User can create a new room, join an existing room, leave from the existing room, switch to other existing room, chat within the room and quit from the system.

Previous history of the chat room is stored in the server so whenever anyone wants to join a room he/she can see the previous history of the room.

Installation:

  1. Clone the project in your desired location.
  2. Open Terminal
  3. write :

    python3 chatServer.py 127.0.0.1

  4. It will show :

    "Server is running on 127.0.0.1, 1131"

  5. Open at best 20 terminal for user you want. This app will allow only 20 client. If you want more user . go to chatServer.py and change the value of "Max_Clients".
  6. In each terminal write :

    python3 chatClient.py 127.0.0.1.

  7. It will show:

Welcome to USASK ChatRoom.
Enter the name you want to display:

8. Enter a name like: "John", "Jack" etc. 9. In the client interface it will display:

Commands: [list] to see the list of all rooms [join room_name] to join an existing room [create room_name] to create a new room [switch room_name] to switch to another room [leave] to leave the existing room [commands] to see the available COmmands [quit] to quit from the system Otherwise start typing and enjoy!

In the server interface it will display:

new says: name: john
New connection from: john.

Follow the commands and enjoy chatting with one another.

Cheers.

About

The Project is build on Python. It is a simple chat application using socket programming for multiple chat room

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages