zig-network
zig-network copied to clipboard
A smallest-common-subset of socket functions for crossplatform networking, TCP & UDP
IPv4 has a parsing method, why is there none for IPv6?
Uses `zig-macos-x86_64-0.11.0-dev.3950+a75531073` same source https://github.com/MasterQ32/zig-network/commit/7b5f76ea09626b96755c027bf4bd5b7e45297027 (standalone project test) **edit:** repo fork (CI test): https://github.com/kassane/zig-network/actions/runs/5568702251 Build ok. however when running: ```bash thread 7538 panic: reached unreachable code /Users/runner/hostedtoolcache/zig/master/x64/lib/std/os.zig:5985:24: 0x10d5fe61b in sendto...
Would it be possible to add a function to get a list of local IP addresses?
Necessary to compile with latest Zig master.
This PR fixes a compilation error when building from the zig master branch.
Add *zig-network* to build.zig.zon: ```bach zig fetch --save=network git+https://github.com/ikskuh/zig-network ``` Import *zig-network*: ```zig const zig_network = b.dependency("network", .{ .target = target, .optimize = optimize, }); const lib = b.addStaticLibrary(..); lib.root_module.addImport("network",...
When attempting to run the UDP multicast example the program reports a failure to bind to the multicast address. Also in a seperate program that I tested where I try...