Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 28 days 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 (9 months ago)
- Default Branch: master
- Last Pushed: 2024-06-07T14:05:12.000Z (7 months ago)
- Last Synced: 2024-12-01T10:10:12.512Z (about 1 month ago)
- Topics: echo-server, example, tcp-server, zig, zig-language, ziglang
- Language: Zig
- Homepage:
- Size: 3.91 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.13.0](https://ziglang.org/download/#release-0.13.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.13.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.13.0](https://ziglang.org/documentation/0.13.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)