Real Time Multi-User Chat System Using TCP
Keywords:
Real-Time Chat System, Python, Flask, Socket.IO, WebSocket, Multi-User Communication, Public and Private Messaging, User Authentication, Password Hashing, SQLite Database, File Sharing, Real-Time Messaging, Event-Driven Programming, Web Application Development, TCP-Based Communication.Abstract
The Real-Time Multi-User Chat System is a web-based communication application developed using Python,
Flask, and Socket.IO to provide seamless and instant messaging among multiple users. The system supports both
public and private messaging, allowing users to communicate with all participants or selected individuals in a
secure and efficient environment. It incorporates user authentication features, including registration and login,
with password hashing to ensure secure access and protect user credentials. By utilizing WebSocket-based
communication through Socket.IO, the application enables real-time message delivery with minimal latency,
overcoming the limitations of traditional request-response communication models. In addition to text messaging,
the system supports file sharing, allowing users to exchange documents and other files during conversations.
Chat-related information, including messages, timestamps, user details, and file references, is stored in a SQLite
database to ensure data persistence and efficient retrieval. The user interface is designed with a modern chat
layout, incorporating features such as message timestamps, date-wise conversation grouping, and an intuitive
messaging interface to enhance the user experience. This project demonstrates the practical implementation of
real-time communication, event-driven programming, WebSocket technology, database management, and secure
web application development, making it suitable for applications such as team collaboration platforms, instant
messaging services, educational communication systems, and enterprise communication solutions.










