revenantx/litenetlib

Lite reliable UDP library for Mono and .NET

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 9 minutes ago
Added to GitGenius on September 19th, 2026
Created on January 15th, 2016
Open Issues & Pull Requests: 7 (+0)
GitHub issues: Enabled
Number of forks: 535
Total Stargazers: 3,621 (+0)
Total Subscribers: 147 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.1 hours
Mean response time: 36.1 days
90th percentile: 50.1 days
Tracked items: 26

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 3
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 344 days
Stale 30+ days: 3
Stale 90+ days: 3

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • by design (4)
  • question (4)
  • feature request (2)
  • need more info/example project (2)
  • bug (1)
  • help wanted (1)

Most active issues this week

Detailed Description

LiteNetLib is a lightweight reliable UDP networking library for .NET Standard 2.1, Mono, and related platforms.

The library addresses the need for efficient peer-to-peer networking in applications where TCP overhead is undesirable. It provides multiple delivery guarantees through different send mechanics: reliable with order, reliable without order, reliable sequenced (last packet only), ordered but unreliable with duplication prevention, and simple unreliable UDP packets. The approach minimizes overhead with just one byte added to unreliable packets and four bytes to reliable ones, while handling fragmentation, packet merging, and MTU detection automatically.

Developers should choose this tool for games and real-time applications requiring low-latency networking across multiple platforms. It suits projects targeting Unity, MonoGame, Godot, or standard .NET environments on Windows, Mac, Linux, and mobile platforms including iOS and Android. The library includes helper classes for message serialization, connection statistics, NAT hole punching, and multicasting for local network discovery. For Unity specifically, the project recommends using library sources or the OpenUPM package rather than precompiled DLLs due to platform-specific code paths and workarounds.

The project maintains active communication channels through Matrix and Discord. Development includes continuous integration builds from the master branch alongside stable release artifacts. The codebase incorporates modern optimizations such as support for .NET8 socket calls to reduce garbage collection overhead. Documentation is available through a dedicated website with usage manuals for the packet serializer and other components.