xuuhaoo/OkSocket
An blocking socket client for Android applications. 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: 3247
- days_rel: n/a
- days_push: 2427
- n_releases_24m: 0
Adoption not part of the score
2590 stars · 431 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
OkSocket is a Java library providing a blocking TCP socket client (and optional server plugin) for Android and Java applications. It wraps low-level TCP communication with features like reconnection, heartbeats, SSL support, and sticky-packet handling so developers can focus on business logic.
Use cases
- maintain a persistent TCP connection from an Android app
- implement automatic reconnect and heartbeat for a socket client
- send and receive structured messages over TCP without handling sticky packets manually
- connect to a socket server over SSL/TLS on Android
- run a lightweight TCP socket server on Android for device-to-device communication
- receive socket callbacks on the main thread for UI updates
When to avoid
- you need asynchronous, non-blocking I/O or high-throughput messaging (consider Netty)
- you need WebSocket or HTTP-based communication rather than raw TCP
- you need an actively maintained library — the latest release dates to January 2020
Facets
library · maturity maintenance
networking concurrency middleware mobile-development android-tools networking developer-tools jvm tcp-client tcp-server socket-client heartbeat auto-reconnect ssl-socket sticky-packet-handling blocking-io android
1 source
- readme: https://github.com/xuuhaoo/OkSocket · fetched 2026-08-28 · 09a2c74d48b9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xuuhaoo/OkSocket | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="xuuhaoo/OkSocket")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem