# socketpair: posix wrapper, void on windows · gitcafe/zig

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

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

Visibility: public

Requested revision: 79313d844f96f9f661cd2621a33890cefa8fb859

Requested commit: 79313d844f96f9f661cd2621a33890cefa8fb859

Commit: 79313d844f96f9f661cd2621a33890cefa8fb859

Tree: b215bc2e0e3e5d8dfe3c5270186f3858a9d77079

Author: Brandon Black

Committer: Brandon Black

## Message

```
socketpair: posix wrapper, void on windows

socketpair is something like a pipe2() for sockets, and generally
only works for AF_UNIX sockets for most platforms.  Winsock2
explicitly does not support this call, even though it does have
AF_UNIX sockets.

```

## Parents

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

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