# Kitura/BlueSocket

Socket framework for Swift using the Swift Package Manager. Works on iOS, macOS, and Linux.

Repository: https://github.com/Kitura/BlueSocket
Canonical: https://ross.abutalabs.com/products/bluesocket
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, socket, networking, macos, linux
Last push: 2022-10-05T22:18:25+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3862, "days_push": 1428, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1419, forks 193 (observed 2026-08-28T04:04:40.274106+00:00)

## What it is
BlueSocket is a Swift socket framework for TCP and UDP networking, packaged via Swift Package Manager. It provides a cross-platform abstraction over POSIX/BSD sockets for iOS, macOS, and Linux.

## Use cases
- create TCP client and server connections in Swift
- build UDP servers on macOS or Linux
- write cross-platform Swift networking code without raw C sockets
- add low-level socket support to a Swift package
- implement custom network protocols in Swift

## When to choose
- you need low-level TCP/UDP socket access in Swift on iOS, macOS, or Linux
- you are building on the Kitura ecosystem or Swift Package Manager projects
- you want a pure Swift wrapper instead of dealing with POSIX socket APIs directly

## When to avoid
- you need SSL/TLS built in (use the BlueSSLService add-on or another library)
- you target watchOS, which is not supported
- you want a high-level HTTP client or async/await-first networking stack like URLSession or SwiftNIO
- you need actively maintained software with frequent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: networking, http-server
- domain: networking, developer-tools, backend
- platform: -
- tags: sockets, tcp, udp, swift-package-manager, kitura, macos, linux, ios, swift

## Member repositories
- Kitura/BlueSocket (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.274106+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:51.205022+00:00, confidence not recorded.
  - readme: https://github.com/Kitura/BlueSocket (fetched 2026-08-28T04:04:40.274106+00:00, sha 86744167ec9b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
