ItzMiadam/udp-zig
zig-udp-socket
udp-zig
udp-zig is a minimal example project demonstrating the use of UDP sockets in the Zig programming language . It serves as a practical reference for developers looking to implement basic UDP communication in Zig.
⚙️ Features
Simple UDP Client and Server: Basic implementations of UDP client and server using Zig's standard library.
Educational Purpose: Designed to showcase fundamental UDP socket operations in Zig.
No External Dependencies: Utilizes only Zig's standard library, making it easy to integrate and modify.
📦 Installation
Clone the repository to your local machine:
git clone https://github.com/TheUnderName/udp-zig.git
cd udp-zig
Build the project using Zig's build system:
zig build
🛠️ Usage Example
Run the server:
./udp-zig-server
In a separate terminal, run the client:
./udp-zig-client
The client will send a message to the server, and the server will respond accordingly.
📄 License
Distributed under the MIT License. See LICENSE for more information.