Typed socket protocol and address types for network communication in Swift.
Add to your Package.swift:
dependencies: [
.package(url: "https://github.com/swift-standards/swift-sockets-standard.git", branch: "main")
]Add the product to your target:
.target(
name: "App",
dependencies: [
.product(name: "Sockets Standard", package: "swift-sockets-standard")
]
)Apache 2.0. See LICENSE.md.