cast sendto to SendError inside send (#7481)

* cast sendto to SendError inside send

* remove WouldBlock from SendToError

* add missing ENOTCONN mapping

* remove SystemResources duplicate

* move NetworkUnreachable to SendError

* add NetworkSubsystemFailed to SendError

* Use zig's implicit error set casting

Co-authored-by: Andrew Kelley <andrew@ziglang.org>
6a75cfd0f6luna committed on 12/22/2020, 9:47:11 PM· committed by GitHubparent43dbe86
2 files changedLine totals unavailable