https://github.com/nrobledosagredo/udp-communication-example
Basic implementation of client-server communication using UDP for message exchange.
https://github.com/nrobledosagredo/udp-communication-example
udp-protocol
Last synced: about 1 year ago
JSON representation
Basic implementation of client-server communication using UDP for message exchange.
- Host: GitHub
- URL: https://github.com/nrobledosagredo/udp-communication-example
- Owner: nrobledosagredo
- Created: 2024-11-17T00:57:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T21:10:47.000Z (over 1 year ago)
- Last Synced: 2025-03-05T22:24:38.859Z (over 1 year ago)
- Topics: udp-protocol
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UDP communication example

## Overview
This repository demonstrates client-server interaction using UDP sockets. It includes two client scripts and one server script to showcase fundamental message sending and receiving functionality. Created as part of a learning project to explore UDP communication protocols.
## Features
- **UDP socket implementation:** Demonstrates basic UDP communication between clients and a server.
- **Multiple clients:** Includes two client scripts to simulate concurrent message sending.
- **Server response handling:** Processes incoming messages and sends appropriate responses.
- **Lightweight and modular:** Easy-to-understand scripts for learning purposes.
## Setup
1. **Clone the repository**:
```bash
git clone
cd
```
2. **Run the server**:
```bash
python server.py
```
3. **Run the clients**:
Open separate terminal windows and run:
```bash
python client1.py
python client2.py
```
4. The server will process messages from the clients and send responses.