# x/os, x/net, os:, fix typos/errors, add missing constants/docs · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/3d946ef5eb15d2333a5e376ab95dad2e70e0dfb9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 3d946ef5eb15d2333a5e376ab95dad2e70e0dfb9

Requested commit: 3d946ef5eb15d2333a5e376ab95dad2e70e0dfb9

Commit: 3d946ef5eb15d2333a5e376ab95dad2e70e0dfb9

Tree: b240931bfca6b7f874758b51bc15e4816977c92b

Author: lithdew

Committer: lithdew

## Message

```
x/os, x/net, os:, fix typos/errors, add missing constants/docs

Add missing constants to ws2_32 such as SIO_BASE_HANDLE.

Made all declared constants in ws2_32 comptime_int, and fixed a few
broken constants (i.e. GUID's).

Fixed a few syscalls not having callconv(WINAPI) in ws2_32.

Fixed a typo in std.x.net.tcp.Client.

Removed unnecessary @alignCast's for socket addresses in
std.x.net.Socket.

Added a warning on using timeout methods for std.x.net.Socket.

Fixed compilation error spotted by CI in std.os that references
std.os.windows.ws2_32.SD_RECEIVE.

Renamed std.x.os.Socket.setOption()'s parameter `name: u32` to `code:
u32`.

```

## Parents

- [a24101be5b8ca31d72005e984b1eff2958de7d2b](https://git.cafe/gitcafe/zig/commit/a24101be5b8ca31d72005e984b1eff2958de7d2b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/3d946ef5eb15d2333a5e376ab95dad2e70e0dfb9?format=markdown)
