ctsTraffic
zig-network
ctsTraffic | zig-network | |
---|---|---|
1 | 3 | |
221 | 390 | |
27.1% | - | |
5.7 | 6.3 | |
about 1 month ago | about 1 month ago | |
C++ | Zig | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ctsTraffic
zig-network
-
Zig Common Tasks - a collection of Zig code snippets for some of the most common tasks
There is an external package which you can use instead here that is cross compatible between systems: https://github.com/MasterQ32/zig-network
-
Socket/UDP implementation? => CoAP
As `std.net` is this experimental, there is currently no support for UDP at all in the standard library. However there is a library named zig-network which supports UDP sockets. There's also an example of UDP Discovery Protocol implemented with in examples/discovery which uses them so you can quickly start with an UDP client and server.
-
What is a good resource guide to learning network programming in zig. I am reading Network Programming in C from Packt. I can do a @cImport but I want it to be purely in Zig. I for example in the text they use netdb, is there an equivalent in Zig?
Try use: https://github.com/MasterQ32/zig-network
What are some alternatives?
iperf - iperf3: A TCP, UDP, and SCTP network bandwidth measurement tool
zgl - Zig OpenGL Wrapper
SimpleUnityTCP - 🖧 Simple Unity Project to show how TCP communication are builded in C# without multi-threading or Unity network (Unet) involved.
ip2unix - Turn IP sockets into Unix domain sockets
netpunch
dns-lookup - 🌍 DNS hostname resolution CLI tool using BSD sockets
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
silver-sniffle - Ncurses TCP Chat
zig-common-tasks - Zig common tasks (code samples)
NetCoreServer - Ultra fast and low latency asynchronous socket server & client C# .NET Core library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution
async_io_uring - An event loop in Zig using io_uring and coroutines