# tcpConnectToHost \- fixed compilation error · gitcafe/zig

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

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

Visibility: public

Requested revision: 2b0d66736acdd156ec15a983c1f7d51d69c51559

Requested commit: 2b0d66736acdd156ec15a983c1f7d51d69c51559

Commit: 2b0d66736acdd156ec15a983c1f7d51d69c51559

Tree: a312a74d5f7033527414768417a25737d19a4bc5

Author: Sebastian

Committer: Andrew Kelley

## Message

````
tcpConnectToHost - fixed compilation error

before:
```
std\net.zig:403:23: error: type '@TypeOf(std.net.getAddressList).ReturnType.ErrorSet!*std.net.AddressList' does not support field access
    const addrs = list.addrs.toSliceConst();
                      ^
```
````

## Parents

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

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