Implementation of RFC 867 (Daytime protocol) for C#.
Find a file
Philip Wille 5153c22aae Fix typo
2020-10-25 18:40:49 +01:00
.github/workflows Create dotnet-core.yml 2020-10-25 17:17:47 +01:00
DaytimeService.NET Change documentation 2020-10-25 17:03:21 +01:00
DaytimeService.NET.CLI Comment source code 2020-10-25 16:54:31 +01:00
DaytimeService.NET.TestClient Comment source code 2020-10-25 16:54:31 +01:00
.gitignore Implement DaytimeService for TCP and UDP 2020-10-25 16:18:44 +01:00
DaytimeService.NET.sln Implement DaytimeService for TCP and UDP 2020-10-25 16:18:44 +01:00
LICENSE Initial commit 2020-10-25 16:12:26 +01:00
README.md Fix typo 2020-10-25 18:40:49 +01:00
stylecop.json Change location of stylecop.json 2020-10-25 16:21:08 +01:00

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 philip.markus.wille@gmail.com.

License

This project uses the following license: MIT.