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: 4 months 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.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)