# More fixups for Windows targets · gitcafe/zig

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

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

Visibility: public

Requested revision: 7f4667219339e92dc75e7dfd5f0078f229804567

Requested commit: 7f4667219339e92dc75e7dfd5f0078f229804567

Commit: 7f4667219339e92dc75e7dfd5f0078f229804567

Tree: 07306346291fd98b13c12fa415abd1383ab9b048

Author: LemonBoy

Committer: LemonBoy

## Message

```
More fixups for Windows targets

* Use closeSocket on sockets instead of plain old close, the latter
  doesn't work on them.
* Use winsocket2 everywhere, mingw has no BSD sockets.

```

## Parents

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

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