Zenoh is an extremely efficient and fault-tolerant Named Data Networking (NDN) protocol that is able to scale down to extremely constrainded devices and networks.
The C# API is for pure clients, in other terms does not support peer-to-peer communication, can be easily tested against a zenoh router running in a Docker container (see https://zenoh.io/docs/getting-started/quick-test/).
Requirements:
- The zenoh-c library must be installed on your host
- The zenoh C# library Zenoh-CS is available on NuGet(Only x64).
- .NET 6.0
- .NET 7.0
- x64
- arm64 (untested)
Zenoh-C | Zenoh-CS |
---|---|
v0.7.2-rc | v0.1.* |
Requirements:
Build:
Because some of Zenoh-C data structures are not the same length in x64
and arm64
, you need to add the option -p:Platform=x64
or -p:Platform=ARM64
when building.
# x64 CPU
dotnet build Zenoh.csproj -c Release -p:Platform=x64
# arm64 CPU
dotnet build Zenoh.csproj -c Release -p:Platform=ARM64
Build and run the zenoh-csharp examples following the instructions in examples/README.md