feat: add C & Zig bindings for tcp connector and acceptor

This commit is contained in:
CJ van den Berg 2026-03-02 18:46:22 +00:00
parent ed91a28f5f
commit e19ff271d0
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
9 changed files with 269 additions and 0 deletions

View file

@ -60,6 +60,7 @@ pub fn build(b: *std.Build) void {
"src/c/signal.cpp",
"src/c/timeout.cpp",
"src/c/unx.cpp",
"src/c/tcp.cpp",
"src/c/trace.cpp",
"src/cbor.cpp",
"src/executor_asio.cpp",
@ -124,6 +125,7 @@ pub fn build(b: *std.Build) void {
"test/tests.cpp",
"test/timeout_test.cpp",
"test/unx_c_api.cpp",
"test/tcp_c_api.cpp",
}, .flags = &cppflags });
tests.linkLibrary(lib);
tests.linkLibrary(asio_dep.artifact("asio"));