LANCommander.Interposer.Relay
1.4.0
Prefix Reserved
dotnet add package LANCommander.Interposer.Relay --version 1.4.0
NuGet\Install-Package LANCommander.Interposer.Relay -Version 1.4.0
<PackageReference Include="LANCommander.Interposer.Relay" Version="1.4.0" />
<PackageVersion Include="LANCommander.Interposer.Relay" Version="1.4.0" />
<PackageReference Include="LANCommander.Interposer.Relay" />
paket add LANCommander.Interposer.Relay --version 1.4.0
#r "nuget: LANCommander.Interposer.Relay, 1.4.0"
#:package LANCommander.Interposer.Relay@1.4.0
#addin nuget:?package=LANCommander.Interposer.Relay&version=1.4.0
#tool nuget:?package=LANCommander.Interposer.Relay&version=1.4.0
LANCommander.Interposer.Relay
The relay server for the LANCommander Interposer's network relay. Games running under the Interposer connect to it instead of a VPN; players who join the same relay network see each other's LAN games (broadcasts, UDP, TCP and IPX) as if they shared a LAN, each with a virtual LAN address.
Host it from any .NET process, such as a LANCommander server plugin or a console app:
await using var relay = new RelayServer(
new RelayServerOptions { Port = 41300 },
new SharedSecretRelayAuthenticator("letmein"),
logger);
relay.ClientJoined += (_, e) => Console.WriteLine($"{e.Client.PlayerName} joined {e.Client.Network}");
await relay.StartAsync();
An IRelayAuthenticator decides who may join, and can place a client in a network and name it,
whatever the client asked for. GetNetworks(), GetClients() and Disconnect(clientId) give a host
an admin view.
Games connect through the Interposer DLL, configured in .interposer\Config.yml or by a launcher
through InterposerService.Relay in the LANCommander.Interposer package. See
Network Relay
for the options and the wire protocol.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
-
net9.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.