https://github.com/revmax-creator/socket-programming
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.
https://github.com/revmax-creator/socket-programming
socket socket-client socket-communication socket-programming socket-server socket-server-and-client sockets sockets-tcp
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/revmax-creator/socket-programming
- Owner: RevMax-creator
- License: other
- Created: 2025-02-15T16:51:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-02-15T17:01:07.000Z (10 months ago)
- Last Synced: 2025-07-21T12:35:37.150Z (5 months ago)
- Topics: socket, socket-client, socket-communication, socket-programming, socket-server, socket-server-and-client, sockets, sockets-tcp
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
python --version
```
If not installed, download it from [python.org](https://www.python.org/).
### Installation
1. Clone the repository:
```bash
git clone https://github.com/RevMax-creator/Socket-Programming.git
cd Socket-Programming
```
2. Install dependencies (if any):
```bash
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:
```bash
python server.py
```
2. Run the client in **another terminal**:
```bash
python client.py
```
## License
This project is licensed under the MIT License. See [LICENSE](https://github.com/RevMax-creator/Socket-Programming/tree/main?tab=License-1-ov-file) for details.