pedasmith / Simple_Network_RFCs

C# UWP WinRT StreamSocket and DatagramSocket code that implements classic network RFCs like ECHO and DAYTIME

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Network RFCs

Simple implementations of classic request for comments (RFCs) like ECHO (RFC 867) and Daytime (RFC 867).

The code demonstrates

  • using streams and datareader and datawriter
  • closing down stream sockets without the Connection Reset by Peer problem
  • sending empty UDP packets

Links

Code organization

The foundational code for each protocol is in the RFC_Foundational directory. This is the only directory with code that directly uses the C# UWP WinRt StreamSocket and DatagramSocket. Each RFC is implemented as a server and as a client in seperate classes; each class includes both TCP and UDP implementations

Each protocol includes tests in the RFC_Foundational_Tests directory. These tests don't rely on any particular testing framework. You can run all of the tests straight from the UI

Each protocol includes samples in Simplest_Possible_Version; these demonstrate using the foundational code

Each protocol includes a simple (and, sorry, ugly) UWP UI in the RFC_UI_UWP directory.

About

C# UWP WinRT StreamSocket and DatagramSocket code that implements classic network RFCs like ECHO and DAYTIME


Languages

Language:C# 100.0%