valvesoftware/gamenetworkingsockets

Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 51 minutes ago
Added to GitGenius on September 6th, 2026
Created on March 21st, 2018
Open Issues & Pull Requests: 31 (+0)
GitHub issues: Enabled
Number of forks: 744
Total Stargazers: 9,892 (+0)
Total Subscribers: 292 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.4 days
Mean response time: 138.8 days
90th percentile: 423.7 days
Tracked items: 74

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 5% of issues opened in the past year have been closed. Three people close 91% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 17
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 623 days
Stale 30+ days: 10
Stale 90+ days: 9

Recent activity

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

Top labels

  • enhancement (11)
  • steamworks (4)
  • bug (3)
  • help wanted (2)
  • good first issue (1)

Detailed Description

GameNetworkingSockets is a transport layer library for games that handles reliable and unreliable messaging over UDP with built-in support for peer-to-peer networking and encryption.

The library solves the problem of implementing robust network communication for games by providing a foundation that abstracts away low-level UDP complexity. It handles message fragmentation and reassembly automatically, allowing developers to send messages larger than the MTU without manual splitting logic. The tool supports both reliable delivery guarantees and unreliable fire-and-forget messaging, letting developers choose the appropriate mode per message. It includes peer-to-peer networking capabilities with NAT traversal, encryption for secure communication, and connection management features designed specifically for real-time game scenarios where latency matters.

Developers building multiplayer games, particularly those requiring low-latency peer-to-peer connections or custom networking stacks, should consider this library. It suits projects where standard TCP overhead is unacceptable and where developers need fine-grained control over reliability semantics. The library is production-tested, originating from Valve's game infrastructure, which provides confidence for shipping titles. Teams building game servers, client-server architectures, or peer-to-peer game networking will find the combination of reliability options and NAT traversal particularly valuable.

The project maintains active testing across multiple platforms including Ubuntu, Windows, macOS, and iOS, with dedicated soak testing for long-running stability validation. Build status is continuously verified across different Linux distributions, indicating sustained attention to cross-platform compatibility and regression prevention.