CHATTY-CHAT
Overview CHATTY-CHAT is a simple client–server chat application built using Python sockets and multithreading. It enables real-time text communication between multiple clients connected to a central server, with a lightweight desktop GUI for the client. This project was developed as part of an academic coursework project to demonstrate networking, concurrency, and basic UI design concepts.
Tech Stack Language: Python Networking: TCP sockets Concurrency: Python threading GUI: Tkinter
Architecture Server (server.py) Accepts multiple client connections Handles concurrent clients using threads Broadcasts messages to all connected clients
Client (client.py) Connects to the server via TCP Sends and receives messages asynchronously Displays messages using a Tkinter-based chat interface
How to Run Start the server: python server.py Run one or more clients: python client.py
Learning Outcomes Socket-based client–server communication Multithreaded application design Basic GUI development with Tkinter Handling shared resources in concurrent systems
Future Improvements Add user authentication and usernames Support for private messaging Persist chat history Improve error handling and scalability Persist chat history
Improve error handling and scalability