Add SocketAddress to NetworkTypes#58
Conversation
1c10133 to
34ab2ec
Compare
|
Let's pull the IPAddress types from Containerization? https://github.com/apple/containerization/blob/main/Sources/ContainerizationExtras/IPAddress.swift |
|
|
|
I think it is okay moving forward with this type for now but we should engage with the maintainer of https://github.com/swift-dns/swift-endpoint/tree/main once we are public.
I agree with this though. Port should only come into play with |
Motivation
We need some concept of a socket (IPv4/IPv6) address.
Solves #41
Modifications
This type already existed in swift-http-server, but we want to centralise all currency types in their own module, so moving that type here.