More actions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|author=bizzycola | |author=bizzycola | ||
|lastupdated=2020/03/26 | |lastupdated=2020/03/26 | ||
|type= | |type=Network | ||
|version=2020 | |version=2020 | ||
|license=Mixed | |license=Mixed |
Latest revision as of 11:36, 20 Haziran 2023
SLP-Sharp | |
---|---|
General | |
Author | bizzycola |
Type | Network |
Version | 2020 |
License | Mixed |
Last Updated | 2020/03/26 |
Links | |
Source Only Download | |
Website | |
Source | |
This is an ASP.Net Core version of the Switch Lan Play Relay server, originally written by SpaceMeowX2 in NodeJs/Typescript which can be found here.
Build instructions here.
User guide
Command Line
There are 2 available command line options allowing you to specify a port and a listen address.
Listen Address
- You can specify an IP to listen on with the -ip option.
- Example running on IP 0.0.0.0:
dotnet SwitchLanNet.dll --ip 0.0.0.0
Listen Port
- You can specify which port to listen on by with the -p option.
- Example running on port 2150:
dotnet run SwitchLanNet.dll -p 2150
API
At the moment, only a client count and bytes/s current upload/download rate are provided by the API, returned as JSON.
To call the API, simply GET http://ip:port/