the.bay.news

Zig unix socket read and write

Ziggit
Zig unix socket read and write
Hello this is my first post here, although I have been following this community for a long time. I have written an unix scoket client server in zig 0.15.2 and trying to migrate to zig 0.16.0. Here is an example code const std = @import("std"); const Io = std.Io; const net = std.Io.net; pub fn main(init: std.process.Init) !void { //const arena: std.mem.Allocator = init.arena.allocator(); const io = init.io; var stdout_buffer: [1024]u8 = undefined; var stdout_file_writer: Io.Fi...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.