# Revert "std.os: add INVALID_SOCKET \(\#12081\)" · gitcafe/zig

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

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

Visibility: public

Requested revision: 5db80a051fea684e1d28fadb66f04932b090521c

Requested commit: 5db80a051fea684e1d28fadb66f04932b090521c

Commit: 5db80a051fea684e1d28fadb66f04932b090521c

Tree: be47507fec9c3c8516962cc81b275807d1cdde29

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "std.os: add INVALID_SOCKET (#12081)"

This reverts commit 0f01e812ff054ea83661272bf0a96af228f2ffe3.

This does not belong in `std.posix`, and it is already provided at
`std.os.windows.ws2_32.INVALID_SOCKET`.

See related issue #5019.

```

## Parents

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

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