This is a part of Node3D project.
npm install @node-3d/deps-gnsThis dependency package distributes GameNetworkingSockets 1.6.0 binaries and headers through npm for Node.js addons.
- Platforms: Windows x64/ARM64, Linux x64/ARM64, macOS x64/ARM64.
- Library: GameNetworkingSockets static transport library.
This package builds from the upstream
GameNetworkingSockets
v1.6.0 source using CMake and vcpkg. The build provides static
GameNetworkingSockets.lib on Windows and libGameNetworkingSockets.a on
Linux/macOS, with GNS's P2P/ICE API enabled and Google WebRTC disabled.
This exposes the custom-signalling and P2P/ICE configuration APIs without shipping a WebRTC ICE backend. Direct client/server UDP networking is unchanged. A consumer that wants NAT traversal must provide its own compatible ICE transport or use a future package build that explicitly enables Google WebRTC.
Windows ARM64 requires a narrow, guarded source patch because the pinned upstream
release does not recognize MSVC's _M_ARM64 / _M_ARM64EC macros in its
endianness detection. The build fails if that upstream source location changes,
rather than silently applying a patch to a different release.
index.js exports the platform-specific bin and include paths through
@node-3d/addon-tools.
#include <steam/steamnetworkingsockets.h>Refer to GameNetworkingSockets and its public headers for the native API.
This software uses GameNetworkingSockets, which is legally used under the BSD 3-Clause license. A copy is included in the GAMENETWORKINGSOCKETS_BSD file.
The rest of this package is MIT licensed.
Windows, Linux, and macOS binaries are built with GitHub Actions.
Release archives are built by this repository's public GitHub Actions workflows.
Attestations: https://github.com/node-3d/deps-gns/attestations
To verify a downloaded archive:
gh release download <tag> -R node-3d/deps-gns -p <platform>.gz
gh attestation verify <platform>.gz -R node-3d/deps-gns