Open kassane opened 1 year ago
Was just about to file an issue for this - example attached in case it's of any use to you. The actual bug is on lines 669-670:
if (self.endpoint) |ep|
return try self.sendTo(ep, data);
A connected socket already has an endpoint so you can just use send
- the attached example works if you comment out lines 669 and 670.
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: