# EsotericSoftware/kryonet

TCP/UDP client/server library for Java, based on Kryo

Repository: https://github.com/EsotericSoftware/kryonet
Canonical: https://ross.abutalabs.com/products/kryonet
Language: Java
License: BSD-3-Clause
License Family: permissive
Last push: 2021-02-22T15:27:36+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4683, "days_push": 2018, "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 1852, forks 411 (observed 2026-08-28T04:05:44.504739+00:00)

## What it is
KryoNet is a Java library providing a simple API for efficient TCP and UDP client/server communication built on NIO, using the Kryo serialization library to automatically transfer object graphs. It runs on desktop JVMs and Android and is well suited to games and other client/server applications.

## Use cases
- build a multiplayer game client/server in Java
- send objects between a Java client and server over TCP or UDP
- implement inter-process communication between JVM applications
- discover game servers on a LAN
- efficiently serialize and transfer object graphs over the network
- add remote method invocation to a Java app

## When to choose
- you need simple, efficient TCP/UDP networking in Java or on Android
- you want automatic serialization of object graphs without writing protocol code
- you are building a game or real-time client/server application on the JVM

## When to avoid
- you need HTTP/REST or WebSocket communication
- you need a maintained library with recent releases and active development
- you are not on the JVM (e.g., need cross-language clients)
- you need enterprise-grade features like TLS, clustering, or service discovery

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, rpc, networking
- domain: microservices, developer-tools
- platform: jvm, cross-platform
- tags: tcp, udp, nio, kryo, client-server, lan-discovery, rmi, game-networking, game-development, android, desktop

## Member repositories
- EsotericSoftware/kryonet (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:44.504739+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-30T03:16:51.573696+00:00, confidence not recorded.
  - readme: https://github.com/EsotericSoftware/kryonet (fetched 2026-08-28T04:05:44.504739+00:00, sha f86c3fa15956)
- Data as of 2026-08-30T08:39:29.467469+00:00.
