Skip to content

Used Socket programming and implemented chat application

Notifications You must be signed in to change notification settings

jinang17/Chat_application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Command Line Chat App

This is a command line chat application developed in Python. It consists of two main files, client.py and server.py, which allow users to connect to a server and send messages that are broadcasted to all connected clients.

Features

  • Connect to a central server and join the chat room.
  • Send messages that are broadcasted to all connected clients.
  • Receive messages from other clients in real-time.

Requirements

  • Python 3.x

Installation

  1. Clone the repository:
git clone https://github.com/jinang17/Chat_application.git
  1. Change directory to the project folder:
cd Chat_application
  1. Start the server:
python server.py
  1. Open another terminal window and start a client:
python client.py
  1. Enter your desired username when prompted.

  2. Start sending and receiving messages in the chat room!

Usage

  • Run python server.py to start the chat server.
  • Run python client.py to start a client and join the chat room.
  • Enter your desired username when prompted.
  • Type your message and press Enter to send it to all connected clients.

Contributions

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

Special thanks to the contributors of the Python programming language and the libraries used in this project for their valuable tools and resources.

About

Used Socket programming and implemented chat application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages