https://github.com/lpg2709/echo-server-zig
Simple TCP echo server write in Zig
https://github.com/lpg2709/echo-server-zig
echo-server example tcp-server zig zig-language ziglang
Last synced: 4 months ago
JSON representation
Simple TCP echo server write in Zig
- Host: GitHub
- URL: https://github.com/lpg2709/echo-server-zig
- Owner: lpg2709
- License: mit
- Created: 2024-03-28T15:56:54.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-07T11:06:42.000Z (4 months ago)
- Last Synced: 2025-03-24T11:05:44.405Z (4 months ago)
- Topics: echo-server, example, tcp-server, zig, zig-language, ziglang
- Language: Zig
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# echo-server-zig
Simple TCP echo server write in [Zig 0.14.0](https://ziglang.org/download/#release-0.14.0)
**Note:**
```
Because Zig is not yet finalized, there are a lot of changes in the standard
library, for this reason I locked this example in version 0.14.0 of the language
```You can see changes between versions by comparing branches.
> Each new version of Zig is separated by branches.
## Usage
To build and run:
```sh
zig build run
```Test the code:
```sh
zig test src/main.zig
```> [Zig 0.14.0](https://ziglang.org/documentation/0.14.0/) required!
## Compare versions
You can see what change on evrey zig version using github compare tool:
- [https://github.com/lpg2709/echo-server-zig/compare](https://github.com/lpg2709/echo-server-zig/compare)