# x/os, x/net: re-approach \`Address\`, rename namespace \`TCP \-\> tcp\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 13068da43e8fbd0ae5d03aff27fb4e8802e1218c

Requested commit: 13068da43e8fbd0ae5d03aff27fb4e8802e1218c

Commit: 13068da43e8fbd0ae5d03aff27fb4e8802e1218c

Tree: a5fd65eb86f80ac4b0d6495ac3b34784b45d0612

Author: lithdew

Committer: lithdew

## Message

```
x/os, x/net: re-approach `Address`, rename namespace `TCP -> tcp`

Address comments from @ifreund and @MasterQ32 to address unsafeness and
ergonomics of the `Address` API.

Rename the `TCP` namespace to `tcp` as it does not contain any
top-level fields.

Fix missing reference to `sockaddr` which was identified by @kprotty in
os/bits/linux/arm64.zig.

```

## Parents

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

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