Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)