NetSharp

NetSharp.git
git clone git://git.lenczewski.org/NetSharp.git
Log | Files | Refs | README | LICENSE

commit dbeaa6d6c217319ad55977c96c810520fca17329
parent 83d8a0f31870be6e1f7d4d612ab6803d79bf9120
Author: Mikolaj Lenczewski <mikolaj.lenczewski308@gmail.com>
Date:   Thu, 23 Apr 2020 21:53:20 +0100

Added more documentation images and slightly edited benchmark comments for clarity

Diffstat:
MNetSharp/NetSharpExamples/Benchmarks/TcpSocketClientAsyncBenchmark.cs | 2+-
MNetSharp/NetSharpExamples/Benchmarks/TcpSocketClientSyncBenchmark.cs | 2+-
MNetSharp/NetSharpExamples/Benchmarks/TcpSocketServerBenchmark.cs | 2+-
MNetSharp/NetSharpExamples/Benchmarks/UdpSocketClientAsyncBenchmark.cs | 2+-
MNetSharp/NetSharpExamples/Benchmarks/UdpSocketClientSyncBenchmark.cs | 2+-
MNetSharp/NetSharpExamples/Benchmarks/UdpSocketServerBenchmark.cs | 2+-
MNetSharp/NetSharpExamples/Program.cs | 2++
Adocs/netsharp-example-selector.png | 0
Ddocs/netsharp-tcp-bandwidths-10-04-2020.png | 0
Adocs/netsharp-tcp-client-async-benchmark.png | 0
Adocs/netsharp-tcp-client-sync-benchmark.png | 0
Adocs/netsharp-tcp-server-benchmark.png | 0
Ddocs/netsharp-udp-bandwidths-10-04-2020.png | 0
Adocs/netsharp-udp-client-async-benchmark.png | 0
Adocs/netsharp-udp-client-sync-benchmark.png | 0
Adocs/netsharp-udp-server-benchmark.png | 0
16 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/NetSharp/NetSharpExamples/Benchmarks/TcpSocketClientAsyncBenchmark.cs b/NetSharp/NetSharpExamples/Benchmarks/TcpSocketClientAsyncBenchmark.cs @@ -74,7 +74,7 @@ namespace NetSharpExamples.Benchmarks if (PacketCount > 10_000) { - Console.WriteLine($"{PacketCount} packets will be sent. This could take a long time (maybe more than a minute)!"); + Console.WriteLine($"{PacketCount} packets will be sent per client. This could take a long time (maybe more than a minute)!"); } using CancellationTokenSource serverCts = new CancellationTokenSource(); diff --git a/NetSharp/NetSharpExamples/Benchmarks/TcpSocketClientSyncBenchmark.cs b/NetSharp/NetSharpExamples/Benchmarks/TcpSocketClientSyncBenchmark.cs @@ -74,7 +74,7 @@ namespace NetSharpExamples.Benchmarks if (PacketCount > 10_000) { - Console.WriteLine($"{PacketCount} packets will be sent. This could take a long time (maybe more than a minute)!"); + Console.WriteLine($"{PacketCount} packets will be sent per client. This could take a long time (maybe more than a minute)!"); } using CancellationTokenSource serverCts = new CancellationTokenSource(); diff --git a/NetSharp/NetSharpExamples/Benchmarks/TcpSocketServerBenchmark.cs b/NetSharp/NetSharpExamples/Benchmarks/TcpSocketServerBenchmark.cs @@ -108,7 +108,7 @@ namespace NetSharpExamples.Benchmarks if (PacketCount > 10_000) { - Console.WriteLine($"{PacketCount} packets will be sent. This could take a long time (maybe more than a minute)!"); + Console.WriteLine($"{PacketCount} packets will be sent per client. This could take a long time (maybe more than a minute)!"); } StreamSocketServerOptions serverOptions = new StreamSocketServerOptions(clientCount, (ushort)clientCount); diff --git a/NetSharp/NetSharpExamples/Benchmarks/UdpSocketClientAsyncBenchmark.cs b/NetSharp/NetSharpExamples/Benchmarks/UdpSocketClientAsyncBenchmark.cs @@ -52,7 +52,7 @@ namespace NetSharpExamples.Benchmarks if (PacketCount > 10_000) { - Console.WriteLine($"{PacketCount} packets will be sent. This could take a long time (maybe more than a minute)!"); + Console.WriteLine($"{PacketCount} packets will be sent per client. This could take a long time (maybe more than a minute)!"); } using CancellationTokenSource serverCts = new CancellationTokenSource(); diff --git a/NetSharp/NetSharpExamples/Benchmarks/UdpSocketClientSyncBenchmark.cs b/NetSharp/NetSharpExamples/Benchmarks/UdpSocketClientSyncBenchmark.cs @@ -52,7 +52,7 @@ namespace NetSharpExamples.Benchmarks if (PacketCount > 10_000) { - Console.WriteLine($"{PacketCount} packets will be sent. This could take a long time (maybe more than a minute)!"); + Console.WriteLine($"{PacketCount} packets will be sent per client. This could take a long time (maybe more than a minute)!"); } using CancellationTokenSource serverCts = new CancellationTokenSource(); diff --git a/NetSharp/NetSharpExamples/Benchmarks/UdpSocketServerBenchmark.cs b/NetSharp/NetSharpExamples/Benchmarks/UdpSocketServerBenchmark.cs @@ -82,7 +82,7 @@ namespace NetSharpExamples.Benchmarks if (PacketCount > 10_000) { - Console.WriteLine($"{PacketCount} packets will be sent. This could take a long time (maybe more than a minute)!"); + Console.WriteLine($"{PacketCount} packets will be sent per client. This could take a long time (maybe more than a minute)!"); } DatagramSocketServerOptions serverOptions = new DatagramSocketServerOptions(clientCount, (ushort)clientCount); diff --git a/NetSharp/NetSharpExamples/Program.cs b/NetSharp/NetSharpExamples/Program.cs @@ -67,6 +67,8 @@ namespace NetSharpExamples Console.WriteLine("Invalid option selected. Please try again!"); } } + + Console.WriteLine(); } } } \ No newline at end of file diff --git a/docs/netsharp-example-selector.png b/docs/netsharp-example-selector.png Binary files differ. diff --git a/docs/netsharp-tcp-bandwidths-10-04-2020.png b/docs/netsharp-tcp-bandwidths-10-04-2020.png Binary files differ. diff --git a/docs/netsharp-tcp-client-async-benchmark.png b/docs/netsharp-tcp-client-async-benchmark.png Binary files differ. diff --git a/docs/netsharp-tcp-client-sync-benchmark.png b/docs/netsharp-tcp-client-sync-benchmark.png Binary files differ. diff --git a/docs/netsharp-tcp-server-benchmark.png b/docs/netsharp-tcp-server-benchmark.png Binary files differ. diff --git a/docs/netsharp-udp-bandwidths-10-04-2020.png b/docs/netsharp-udp-bandwidths-10-04-2020.png Binary files differ. diff --git a/docs/netsharp-udp-client-async-benchmark.png b/docs/netsharp-udp-client-async-benchmark.png Binary files differ. diff --git a/docs/netsharp-udp-client-sync-benchmark.png b/docs/netsharp-udp-client-sync-benchmark.png Binary files differ. diff --git a/docs/netsharp-udp-server-benchmark.png b/docs/netsharp-udp-server-benchmark.png Binary files differ.