Skip to content

Zeruxky/DaytimeService.NET

Repository files navigation

DaytimeService.NET

GitHub repo size GitHub contributors GitHub stars GitHub forks

DaytimeService.NET is an implementation of the daytime protocol (RFC867) for C#.

It provides a console application for running the daytime server through the CLI and a test tool for triggering the daytime server. It is developed against .NET Standard 2.0.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of Microsoft Visual Studio or Jetbrains Rider.
  • You have installed the latest version of .NET Core SDK.

Using DaytimeService.NET

To build DaytimeService.NET, follow these steps:

  • Clone this repository.
  • Open the DaytimeService.NET.sln in Microsoft Visual Studio or Jetbrains Rider.
  • Build it with Microsoft Visual Studio, Jetbrains Rider or with dotnet build.

For starting the server, follow these steps:

  • Build the project with the before mentioned steps.
  • Open PowerShell, CMD or terminal.
  • Navigate to pathToProject\DaytimeService.NET\DaytimeService.NET.CLI\bin\Debug\netcoreapp3.1 with
cd pathToProject\DaytimeService.NET\DaytimeService.NET.CLI\bin\Debug\netcoreapp3.1
  • Run it with
.\DaytimeService.NET.CLI.exe -c <connection-mode> -s <listening-port>

You can get additional help with the help-command. Use it as follows:

.\DaytimeService.NET.TestClient.exe --help

For starting the test client, follow these steps:

  • Build the project with the before mentioned steps.
  • Open PowerShell, CMD or terminal.
  • Navigate to pathToProject\DaytimeService.NET\DaytimeService.NET.TestClient\bin\Debug\netcoreapp3.1 with
cd pathToProject\DaytimeService.NET\DaytimeService.NET.TestClient\bin\Debug\netcoreapp3.1
  • Run it with
.\DaytimeService.NET.TestClient.exe -c <connection-mode> -d <port-of-daytime-server> -s <source-port-of-test-client>

You can get additional help with the help-command. Use it as follows:

.\DaytimeService.NET.TestClient.exe --help

Contributing to DaytimeService.NET

To contribute to DaytimeService.NET, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Dependencies

  • NET.Core 3.1 for demo test client and demo server
  • CommandLineParser 2.8.0
  • Library is compatible to .NET Standard 2.0.

Contributors

Thanks to the following people who have contributed to this project:

Contact

If you want to contact me you can reach me at [email protected].

License

This project uses the following license: MIT.

About

Implementation of RFC 867 (Daytime protocol) for C#.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages