This is a simple chat application that allows multiple clients to connect to a server and chat with each other. It uses sockets and threading technology to allow clients to interact with each other
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python 3.x
- tkinter (if you want the GUI version)
- Clone the repository:
git clone https://github.com/<Gojimandev/>/python-socket-chat.git
To run the server, navigate to the root of the project in the command prompt and run the following command:
python server.py
To run the client, navigate to the root of the project in the command prompt and run the following command:
python client.py
- When the client is launched, it prompts the user to enter a username.
- Once a username is entered and set, the user can start sending messages to the server, which will then be broadcasted to all connected clients.
- User can also receive messages from other clients.
- Python - The programming language used
- socketserver - The built-in Python library used for the server
- socket - The built-in Python library used for the client
- tkinter - The built-in Python library used for the GUI
- Gojibo - Initial work - Gojibodev/
This project is licensed under the MIT License