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?

This page summarizes the projects mentioned and recommended in the original post on /r/Zig

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • zig-network

    A smallest-common-subset of socket functions for crossplatform networking, TCP & UDP

  • Try use: https://github.com/MasterQ32/zig-network

  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  • there's also some simple examples in stdlib tests and zig by example

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • netpunch

  • OP if your wanting some zig code to reference for networking feel free to gander at my netpunch project: https://github.com/marler8997/netpunch

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts