GameNetworkingSockets VS henet

Compare GameNetworkingSockets vs henet and see what are their differences.

GameNetworkingSockets

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

henet

Haskell bindings for ENet (by Ericson2314)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
GameNetworkingSockets henet
35 10
7,830 8
0.6% -
8.1 0.0
about 1 month ago over 10 years ago
C++ Haskell
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

GameNetworkingSockets

Posts with mentions or reviews of GameNetworkingSockets. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-11.
  • How are game servers financed
    1 project | /r/gamedev | 6 Dec 2023
    Steam does have a NAT traversal/punchthrough service too. It's apparently usable without Steam according to their README on https://github.com/ValveSoftware/GameNetworkingSockets but honestly the only easy to use implementation I know is in Facepunch.Steamworks which requires a SteamID to initialize
  • Microsoft wins FTC fight to buy Activision Blizzard
    3 projects | /r/gaming | 11 Jul 2023
    Halo was mostly all about single player and early multiplayer/local multiplayer but their online netcode has sucked since Blood Gulch. Lots of games do networking horribly, I have been in gamedev making networking and I hate most of what people do. The ones that have a clean natting, based on enet style reliable UDP channels, RakNet style punch are better (RakNet was good until Facebook bought it). It has come a long way but also fallen back. Valve source netcode (on github) is probably the best and you can check it out here. They started with the best in Quake networking, then to Source.
  • Steam is very good, but I do wish for more effort in the competition.
    1 project | /r/pcmasterrace | 16 Mar 2023
    There are some general APIs that are tied to Steam, like some networking stuff (even then there's an open source library), but the devs are not required to use any of those. If the devs chose to develop exclusively for steam and use their libraries, then that's their own decision.
  • I FIGURED OUT NETWORKING
    2 projects | /r/godot | 15 Mar 2023
    Keep in mind that if you do go the GodotSteam route, there's GameNetworkingSockets from valve that doesn't have the requirement of needing Steam that you can use for releasing on other platforms. It has the same interface as the Steamworks SDK without requiring the Steamworks SDK.
  • Peer to Peer online multiplayer?
    2 projects | /r/gamedev | 18 Feb 2023
    Their UDP-but-connection-based game networking protocol can be used completely separetely from Steam (it also supports encryption). I think that does not include their relay networking solution, but still.. maybe it's helpful. They also have a TCP-like interface to make it easy to plug into an existing solution.
  • What kind of person do I need to find to get help with this issue?
    1 project | /r/gamedev | 1 Feb 2023
    You can also use the non-Steam parts of that library in any game in case you don't just release on Steam (have a look at https://github.com/ValveSoftware/GameNetworkingSockets )
  • Multiplayer game packaging
    2 projects | /r/gamedev | 16 Jan 2023
    If you want to go the route of using a raw protocol and packing your messages yourself, I suggest to at least have a look at Valve's GameNetworkingSockets either for inspiration of what you might need or even to just use the library: https://github.com/ValveSoftware/GameNetworkingSockets
  • does it cost money to have a small coop server?
    2 projects | /r/gamedev | 26 Dec 2022
    There is early NAT piercing support in Valve's GameNetworkingSockets. Check out:
  • What network messaging library do you recommend?
    6 projects | /r/cpp | 6 Dec 2022
    You can also try Valve's GameNetworkingSockets with a serialization of your choice.
  • The Riftbreaker adds Steam Workshop Support, AMD FSR 2.1 support, Optimized CPU performance and more
    1 project | /r/pcgaming | 18 Nov 2022

henet

Posts with mentions or reviews of henet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-11.
  • Microsoft wins FTC fight to buy Activision Blizzard
    3 projects | /r/gaming | 11 Jul 2023
    Halo was mostly all about single player and early multiplayer/local multiplayer but their online netcode has sucked since Blood Gulch. Lots of games do networking horribly, I have been in gamedev making networking and I hate most of what people do. The ones that have a clean natting, based on enet style reliable UDP channels, RakNet style punch are better (RakNet was good until Facebook bought it). It has come a long way but also fallen back. Valve source netcode (on github) is probably the best and you can check it out here. They started with the best in Quake networking, then to Source.
  • Multiplayer Networking Solutions
    19 projects | /r/gamedev | 6 Oct 2022
    Enet already talked about in the thread
  • What's an actually useful netcode package!
    2 projects | /r/gamedev | 27 Sep 2022
  • Porting SDL2 Game to the web, Emscripten tutorial
    1 project | /r/C_Programming | 26 Sep 2022
    Probably not. It says Enet runs over UDP, which Web Browsers / WebAssembly / Emscripten don't provide. Web browsers / Emscripten provide TCP only (source). That, and Enet probably calls standard UNIX / Winsock functions, which Emscripten doesn't have. ENet would have to specifically support Emscripten as a target platform.
  • Game networking with QUIC
    1 project | /r/gamedev | 13 Aug 2022
    Are you familiar with enet ? It's a popular C library which implements optional reliability on top of UDP.
  • HTTP/3 becomes a standard, at last - Networking - Security
    2 projects | /r/programming | 10 Jun 2022
    The other that is the base of most networking libs today is enet, one of the cleanest C networking libraries you will ever find. The RUDP and channels in it were very nice.
  • Making a multiplayer server
    4 projects | /r/VoxelGameDev | 6 Jun 2022
    Inconsistencies can be prevented by ensuring the server handles all operations and does so in a given order, then transmits the results to clients. I wrote a little about this for my game Avoyd a long while ago. Clients (including a client running the server) send an edit request via reliable ordered UDP (e.g. using Enet, Raknet, Steam Networking etc.) and the server places these in a single queue then performs the edits and sends the results back also using reliable ordered UDP.
  • How I Taught the D Programming Language at a Russian University
    1 project | /r/programming | 20 Feb 2022
    I find this interesting. Vibe.d is async, but written in a sync fashion (in essence, the async is hidden in the i/o subsystem). For my class with grade-school students, I used enet (http://enet.bespin.org/) with a wrapper I wrote to automatically serialize messages.
  • what is the easiest way to add online multiplayer to a voxel game?
    1 project | /r/VoxelGameDev | 9 Nov 2021
    A popular simple low level open source reliable UDP library is ENet.
  • Speed Dreams needs you! (Call for devs)
    2 projects | /r/opensourcegames | 3 May 2021
    -Improve the status of the Online Mode: This mode built with eNet, currently allows to create multiplayer races, but while it works acceptably well in a LAN, over the internet is unplayable presenting a huge lag, among other problems.

What are some alternatives?

When comparing GameNetworkingSockets and henet you can also consider the following projects:

nakama - Distributed server for social and realtime games and apps.

H - The full power of R in Haskell.

netcode.io - A protocol for secure client/server connections over UDP

bindings-svm - Low level bindings to libsvm

libzt - Encrypted P2P sockets over ZeroTier

bindings-levmar - Low level Haskell bindings to the C levmar (Levenberg-Marquardt) library

Game-Networking-Resources - A Curated List of Game Network Programming Resources [Moved to: https://github.com/ThusWroteNomad/GameNetworkingResources]

bindings-sc3 - Haskell bindings to the SuperCollider synthesis engine

Proton - Compatibility tool for Steam Play based on Wine and additional components

bindings-DSL - Library and macros to simplify writing Haskell FFI code

GloSC - Tool for using the Steam-Controller as systemwide XInput controller alongside a global overlay [Moved to: https://github.com/Thracky/GlosSI]

bindings-libusb - Low level bindings to libusb