Skip to content

TheJurmikDev/Python-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation


📨 Python Chat

Python Chat is a simple chat system built with sockets in Python. It allows communication between a server and a client over a local network.

🚀 Features

  • 📡 Server & Client – Easy setup for both server and client
  • 💬 Real-time Messaging – Instant message exchange between users
  • 🔒 Local Connection – Works on 127.0.0.1 for testing

⚠️ Requirements

  • Python 3.x
  • Local network connection

📥 Installation & Usage

1️⃣ Start the Server

python "PythonChat Server.py"

Enter the port number for the server.

2️⃣ Start the Client

python "PythonChat Client.py"

Enter the server’s port number and your name.

🛠 How to Use

  1. Run the server and wait for a client to connect
  2. Run the client and connect to the server
  3. Send messages and chat in real-time

📌 Notes

  • For local use only (127.0.0.1)
  • Press Ctrl + C to stop the server/client