swiftsocket/SwiftSocket
The easy way to use sockets on Apple platforms observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4395
- days_rel: n/a
- days_push: 995
- n_releases_24m: 0
Adoption not part of the score
1692 stars · 404 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SwiftSocket is a Swift library providing a simple interface for TCP and UDP socket connections on Apple platforms, supporting both client and server usage. It is distributed via CocoaPods and Carthage.
Use cases
- connect to a TCP server from an iOS app
- build a simple TCP echo server in Swift
- send and receive raw bytes over UDP
- make low-level socket connections with connect timeouts
- implement custom network protocols on Apple platforms
When to choose
- you need raw TCP/UDP sockets in Swift on iOS, macOS, or other Apple platforms
- you want a minimal, easy-to-use socket API without heavy dependencies
- you are building a custom client or lightweight server on Apple devices
When to avoid
- you need modern async/await networking — prefer Network.framework (NWConnection)
- you need HTTP or higher-level protocols rather than raw sockets
- you need cross-platform support beyond Apple platforms
Facets
library · maturity maintenance
networking developer-tools networking tcp udp sockets swift ios macos apple-ecosystem
1 source
- readme: https://github.com/swiftsocket/SwiftSocket · fetched 2026-08-28 · eb985915ec75
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swiftsocket/SwiftSocket | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="swiftsocket/SwiftSocket")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem