TeleConsoleClient 0.4.0-nuget1
See the version list below for details.
dotnet add package TeleConsoleClient --version 0.4.0-nuget1
NuGet\Install-Package TeleConsoleClient -Version 0.4.0-nuget1
<PackageReference Include="TeleConsoleClient" Version="0.4.0-nuget1" />
paket add TeleConsoleClient --version 0.4.0-nuget1
#r "nuget: TeleConsoleClient, 0.4.0-nuget1"
// Install TeleConsoleClient as a Cake Addin #addin nuget:?package=TeleConsoleClient&version=0.4.0-nuget1&prerelease // Install TeleConsoleClient as a Cake Tool #tool nuget:?package=TeleConsoleClient&version=0.4.0-nuget1&prerelease
TeleConsole
A simple remote console to aid debugging of programs in awkward situations.
Install
Client
The client can be installed in multiple ways. There's a nuget package you can install from the MonoDevelop or Visual Studio interface. Here's how to do that from the command-line though:
nuget install TeleConsoleClient
The code from TeleConsoleClient.cs can also be copied directly to your project, but beware that you'll need to check back from time to time for updates.
Server
The server is just a simple binary that listens on a TCP port and echoes everything from the connections it gets. A CIL binary is provided on the page of the latest release on the [releases page]](https://gitlab.com/sbrl/TeleConsole/tags/). Don't forget to click on the latest tag name to get more information on each release! GitLab doesn't appear to show anything more than the first part of the first line of the release notes otherwise.....
Usage
The TeleConsole client is designed to feel a lot like a combination of the TcpClient
and Console
classes. Here's a simple example:
TeleConsoleClient remoteConsole = new TeleConsoleClient();
remoteConsole.WriteLine("Hello, {0}!", "galaxy");
The above connects to localhost on port 4021, by default. This can be changed like so:
TeleConsoleClient remoteConsole = new TeleConsoleClient(IPAddress.Parse("1.2.3.4"), 8888);
remoteConsole.WriteLine(
"Hello, {0}! We can have as many parameters as we like: {1} {2} {3} {4} {5} {6} {7}",
"galaxy",
"yay", IPAddress.IPv6Loopback, 67, 42, "cheese", 'd', new Rocket()
);
The above connects to port 8888 on 1.2.3.4. More advanced usage can be found by reading the code - don't worry, it's fairly short and well documented 😄 If it does become too long and / or cumbersome to read, I'll expand this section 😃
Contributing
(Detailed) bug reports and suggestions are welcome! Just open an issue 😺
Pull Requests are also welcome 😸
License
TeleConsole is licensed under the Mozilla Public License 2.0, a copy of which (with a summary) can be found here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
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.4.0 | 1,115 | 6/26/2018 |
0.4.0-nuget1 | 831 | 6/26/2018 |
0.3.0 | 1,440 | 11/3/2017 |
Fix URLs after moving to GitLab.