Simple TCP echo server write in Zig 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.
To build and run:
zig build run
Test the code:
zig test src/main.zig
Zig 0.13.0 required!
You can see what change on evrey zig version using github compare tool: