NalchiSharp.Gns.Posix32
0.1.0-alpha.6
dotnet add package NalchiSharp.Gns.Posix32 --version 0.1.0-alpha.6
NuGet\Install-Package NalchiSharp.Gns.Posix32 -Version 0.1.0-alpha.6
<PackageReference Include="NalchiSharp.Gns.Posix32" Version="0.1.0-alpha.6" />
<PackageVersion Include="NalchiSharp.Gns.Posix32" Version="0.1.0-alpha.6" />
<PackageReference Include="NalchiSharp.Gns.Posix32" />
paket add NalchiSharp.Gns.Posix32 --version 0.1.0-alpha.6
#r "nuget: NalchiSharp.Gns.Posix32, 0.1.0-alpha.6"
#addin nuget:?package=NalchiSharp.Gns.Posix32&version=0.1.0-alpha.6&prerelease
#tool nuget:?package=NalchiSharp.Gns.Posix32&version=0.1.0-alpha.6&prerelease
NalchiSharp
NalchiSharp is a C# binding for the nalchi, which aims to provide utilities for efficient message sending over ValveSoftware/GameNetworkingSockets.
Documentation
As this is a direct binding of the nalchi, you can refer to the nalchi API reference for more info.
There are some minor differences:
- nalchi is written in C++, so it uses
snake_case
mostly, while NalchiSharp usesPascalCase
&camelCase
. - In NalchiSharp, functions in
nalchi::socket_extension
is implemented as the extension methods ofGnsSharp.ISteamNetworkingSockets
Integrate
There are 8 different nuget packages available for different backends & platforms.
dotnet add package NalchiSharp.Gns.Win64 --prerelease # Open source GNS for Windows 64-bit
dotnet add package NalchiSharp.Gns.Win32 --prerelease # Open source GNS for Windows 32-bit
dotnet add package NalchiSharp.Gns.Posix64 --prerelease # Open source GNS for POSIX 64-bit
dotnet add package NalchiSharp.Gns.Posix32 --prerelease # Open source GNS for POSIX 32-bit
dotnet add package NalchiSharp.Steamworks.Win64 --prerelease # Steamworks SDK for Windows 64-bit
dotnet add package NalchiSharp.Steamworks.Win32 --prerelease # Steamworks SDK for Windows 32-bit
dotnet add package NalchiSharp.Steamworks.Posix64 --prerelease # Steamworks SDK for POSIX 64-bit
dotnet add package NalchiSharp.Steamworks.Posix32 --prerelease # Steamworks SDK for POSIX 32-bit
This is because GNS uses different struct pack size for each platform, and size_t
is different between 64/32 bits.
Where's the native libraries?
I don't provide them here, for the same reason as in GnsSharp.
So, bring your own native dll/dylib/so files:
- Build the GameNetworkingSockets on your own, or download the Steamworks SDK from the Steamworks partner site.
- Also, build the C++ version of nalchi dynamically and bring that dll/dylib/so file too.
Can you provide the pre-built native libraries?
You can download the pre-built native libraries in nalchi repository.
Download the one for your platform, that ends with -Shared
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- GnsSharp.Gns.Posix32 (>= 0.1.0-alpha.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0-alpha.6 | 0 | 4/7/2025 |
0.1.0-alpha.5 | 97 | 3/30/2025 |
0.1.0-alpha.4 | 84 | 3/28/2025 |
0.1.0-alpha.3 | 82 | 3/28/2025 |
0.1.0-alpha.2 | 82 | 3/28/2025 |
0.1.0-alpha.1 | 95 | 3/27/2025 |