Skip to content

This repository contains various examples and projects related to socket programming, demonstrating how to establish communication between devices over a network. The code covers both TCP and UDP protocols and includes implementations in languages like Python.

License

Notifications You must be signed in to change notification settings

RevMax-creator/Socket-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Socket Programming in Python

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.

Features

  • 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

Getting Started

Prerequisites

Ensure you have Python installed:

python --version

If not installed, download it from python.org.

Installation

  1. Clone the repository:
    git clone https://github.com/RevMax-creator/Socket-Programming.git
    cd Socket-Programming
  2. Install dependencies (if any):
    pip install -r requirements.txt

Usage

Each example is contained in a separate directory. Follow the README inside each folder for detailed instructions.

Running a TCP Server and Client

  1. Start the server:
    python server.py
  2. Run the client in another terminal:
    python client.py

License

This project is licensed under the MIT License. See LICENSE for details.

About

This repository contains various examples and projects related to socket programming, demonstrating how to establish communication between devices over a network. The code covers both TCP and UDP protocols and includes implementations in languages like Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages