zoap
A WiP CoAP implementation for bare-metal constrained devices in Zig (by nmeum)
zig-network
A smallest-common-subset of socket functions for crossplatform networking, TCP & UDP (by MasterQ32)
zoap | zig-network | |
---|---|---|
1 | 3 | |
5 | 394 | |
- | - | |
2.6 | 5.6 | |
about 2 years ago | 12 days ago | |
Zig | Zig | |
GNU Affero General Public License v3.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
zoap
Posts with mentions or reviews of zoap.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-21.
-
Socket/UDP implementation? => CoAP
I suggest taking a look at this project maybe it will help you. https://github.com/nmeum/zoap
zig-network
Posts with mentions or reviews of zig-network.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-06.
-
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?
When comparing zoap and zig-network you can also consider the following projects:
microzig - Unified abstraction layer and HAL for several microcontrollers
ctsTraffic - ctsTraffic is a highly scalable client/server networking tool giving detailed performance and reliability analytics
ziglings - Learn the Zig programming language by fixing tiny broken programs.
zgl - Zig OpenGL Wrapper
zig-riscv-embedded - Experimental Zig-based CoAP node for the HiFive1 RISC-V board
SimpleUnityTCP - 🖧 Simple Unity Project to show how TCP communication are builded in C# without multi-threading or Unity network (Unet) involved.