# Io: fix compile error in \`receive\` and \`receiveTimeout\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 654a5b20d7a8eb2d4267b859aff615e4806733c2

Requested commit: 654a5b20d7a8eb2d4267b859aff615e4806733c2

Commit: 654a5b20d7a8eb2d4267b859aff615e4806733c2

Tree: df6e97aaadd6ed477b933718b202962ab7ee1db5

Author: David Rubin

Committer: David Rubin

## Message

```
Io: fix compile error in `receive` and `receiveTimeout`

Correctly uses the `netReceive` API. If an error was
returned, we propagate that error, otherwise assert
we only received one message.

```

## Parents

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

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