This repository contains various implementations of socket programming using Python. It demonstrates how to establish communication between devices over a network using TCP and UDP protocols.
- Basic Client-Server Communication (TCP & UDP)
- Multi-Client Handling (Threaded & Asynchronous Models)
- File Transfer over Sockets
- Simple Chat Application
- Broadcast and Multicast Communication
- Secure Sockets using SSL/TLS
Ensure you have Python installed:
python --version
If not installed, download it from python.org.
- Clone the repository:
git clone https://github.com/RevMax-creator/Socket-Programming.git cd Socket-Programming
- Install dependencies (if any):
pip install -r requirements.txt
Each example is contained in a separate directory. Follow the README inside each folder for detailed instructions.
- Start the server:
python server.py
- Run the client in another terminal:
python client.py
This project is licensed under the MIT License. See LICENSE for details.