News: 0001630640

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Valve Updates GameNetworkingSockets After Nearly Four Year Hiatus

([Valve] 4 Hours Ago GameNetworkingSockets)


Back in 2018, [1]Valve open-sourced their Steam networking sockets library as a basic network transport layer for games. This library is used by games from Counter-Strike to Dota 2 and since its public open-source drop has been picked up elsewhere. Finally after going nearly four years without a new version, GameNetworkingSockets v1.5 dropped today.

GameNetworkingSockets serves reliable and unreliable message types and provides a connection-oriented API for games/engines that is message-oriented like UDP. GameNetworkingSockets supports IPv6, peer-to-peer networking, encryption, and much more. It's been good enough for Valve's flagship game titles.

The last release until now of GameNetworkingSockets was v1.4.1 back in June 2022 while thankfully today is the debut of GameNetworkingSockets v1.5. This new version has a number of API additions as well as providing initial Rust bindings. That Rust binding support for GameNetworkingSockets comes via the open-source community rather than Valve developers.

The new version also has peer-to-peer (P2P) improvements, improved CMake integration, various compiler and platform compatibility fixes, security fixes, and a variety of other improvements. There is also better continuous integration (CI) testing now happening with GameNetworkingSockets.

Those interested in this open-source Valve networking library can find all of the code on [2]GitHub under a BSD 3-clause license.



[1] https://www.phoronix.com/news/Valve-Network-Sockets-Lib

[2] https://github.com/ValveSoftware/GameNetworkingSockets/releases/tag/v1.5.0



"... I should explain that I was wearing a black velvet cape that was
supposed to make me look like the dashing, romantic Zorro but which actually
made me look like a gigantic bat wearing glasses ..."
-- Dave Barry, "The Wet Zorro Suit and Other Turning
Points in l'Amour"