diff --git a/CHANGELOG.md b/CHANGELOG.md
index a111611..3611d03 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ v5.1.x
- Strong name signing
- Better exception logging
+- Set ```Settings.NoDelay``` to ```true``` by default (disabling Nagle's algorithm)
## Previous Versions
diff --git a/README.md b/README.md
index 5f0e99c..5aef03f 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Special thanks to the following people for their support and contributions to th
@NormenSchwettmann @karstennilsen @motridox @AdamFrisby @Job79 @Dijkstra-ru @playingoDEERUX
@DuAell @syntacs @zsolt777 @broms95 @Antwns @MartyIX @Jyck @Memphizzz @nirajgenius
@cee-sharp @jeverz @cbarraco @DenisBalan @Markonius @Ahmed310 @markashleybell @thechosensausage
-@JVemon @eatyouroats @bendablegears @Laiteux @fisherman6v6 @wesoos @YorVeX @tovich37
+@JVemon @eatyouroats @bendablegears @Laiteux @fisherman6v6 @wesoos @YorVeX @tovich37 @sancheolz
If you'd like to contribute, please jump right into the source code and create a pull request, or, file an issue with your enhancement request.
@@ -27,6 +27,7 @@ If you'd like to contribute, please jump right into the source code and create a
- Strong name signing
- Better exception logging
+- Set ```Settings.NoDelay``` to ```true``` by default (disabling Nagle's algorithm)
## Test Applications
diff --git a/src/Test.Client/Test.Client.csproj b/src/Test.Client/Test.Client.csproj
index e7fcb47..f3f763a 100644
--- a/src/Test.Client/Test.Client.csproj
+++ b/src/Test.Client/Test.Client.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.ClientStream/Test.ClientStream.csproj b/src/Test.ClientStream/Test.ClientStream.csproj
index e7fcb47..f3f763a 100644
--- a/src/Test.ClientStream/Test.ClientStream.csproj
+++ b/src/Test.ClientStream/Test.ClientStream.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.Deadlock/Test.Deadlock.csproj b/src/Test.Deadlock/Test.Deadlock.csproj
index bb72493..232590b 100644
--- a/src/Test.Deadlock/Test.Deadlock.csproj
+++ b/src/Test.Deadlock/Test.Deadlock.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.FastDisconnect/Test.FastDisconnect.csproj b/src/Test.FastDisconnect/Test.FastDisconnect.csproj
index bb72493..232590b 100644
--- a/src/Test.FastDisconnect/Test.FastDisconnect.csproj
+++ b/src/Test.FastDisconnect/Test.FastDisconnect.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.FileTransfer/Test.FileTransfer.csproj b/src/Test.FileTransfer/Test.FileTransfer.csproj
index 7b6088f..afe3307 100644
--- a/src/Test.FileTransfer/Test.FileTransfer.csproj
+++ b/src/Test.FileTransfer/Test.FileTransfer.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.LargeMessages/Test.LargeMessages.csproj b/src/Test.LargeMessages/Test.LargeMessages.csproj
index bb72493..232590b 100644
--- a/src/Test.LargeMessages/Test.LargeMessages.csproj
+++ b/src/Test.LargeMessages/Test.LargeMessages.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.MaxConnections/Test.MaxConnections.csproj b/src/Test.MaxConnections/Test.MaxConnections.csproj
index 575adbb..f27a807 100644
--- a/src/Test.MaxConnections/Test.MaxConnections.csproj
+++ b/src/Test.MaxConnections/Test.MaxConnections.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.Metadata/Test.Metadata.csproj b/src/Test.Metadata/Test.Metadata.csproj
index 3511f40..2e673e8 100644
--- a/src/Test.Metadata/Test.Metadata.csproj
+++ b/src/Test.Metadata/Test.Metadata.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.MultiClient/Test.MultiClient.csproj b/src/Test.MultiClient/Test.MultiClient.csproj
index 3511f40..2e673e8 100644
--- a/src/Test.MultiClient/Test.MultiClient.csproj
+++ b/src/Test.MultiClient/Test.MultiClient.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.MultiThread/Test.MultiThread.csproj b/src/Test.MultiThread/Test.MultiThread.csproj
index 3511f40..2e673e8 100644
--- a/src/Test.MultiThread/Test.MultiThread.csproj
+++ b/src/Test.MultiThread/Test.MultiThread.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.NonExistentServer/Test.NonExistentServer.csproj b/src/Test.NonExistentServer/Test.NonExistentServer.csproj
index 3511f40..2e673e8 100644
--- a/src/Test.NonExistentServer/Test.NonExistentServer.csproj
+++ b/src/Test.NonExistentServer/Test.NonExistentServer.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.Parallel/Test.Parallel.csproj b/src/Test.Parallel/Test.Parallel.csproj
index b84b9d4..27e7fb8 100644
--- a/src/Test.Parallel/Test.Parallel.csproj
+++ b/src/Test.Parallel/Test.Parallel.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.PartialStream/Test.PartialStream.csproj b/src/Test.PartialStream/Test.PartialStream.csproj
index 3511f40..2e673e8 100644
--- a/src/Test.PartialStream/Test.PartialStream.csproj
+++ b/src/Test.PartialStream/Test.PartialStream.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.Reconnect/Test.Reconnect.csproj b/src/Test.Reconnect/Test.Reconnect.csproj
index 3511f40..2e673e8 100644
--- a/src/Test.Reconnect/Test.Reconnect.csproj
+++ b/src/Test.Reconnect/Test.Reconnect.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.Server/Test.Server.csproj b/src/Test.Server/Test.Server.csproj
index ac464aa..010762b 100644
--- a/src/Test.Server/Test.Server.csproj
+++ b/src/Test.Server/Test.Server.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.ServerStream/Test.ServerStream.csproj b/src/Test.ServerStream/Test.ServerStream.csproj
index ac464aa..010762b 100644
--- a/src/Test.ServerStream/Test.ServerStream.csproj
+++ b/src/Test.ServerStream/Test.ServerStream.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.SyncMessages/Test.SyncMessages.csproj b/src/Test.SyncMessages/Test.SyncMessages.csproj
index 7bee9c6..247759e 100644
--- a/src/Test.SyncMessages/Test.SyncMessages.csproj
+++ b/src/Test.SyncMessages/Test.SyncMessages.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net6.0;net7.0
+ netcoreapp3.1;net6.0;net7.0;net8.0
diff --git a/src/Test.Throughput/Test.Throughput.csproj b/src/Test.Throughput/Test.Throughput.csproj
index bb72493..232590b 100644
--- a/src/Test.Throughput/Test.Throughput.csproj
+++ b/src/Test.Throughput/Test.Throughput.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.TimeoutRecovery/Test.TimeoutRecovery.csproj b/src/Test.TimeoutRecovery/Test.TimeoutRecovery.csproj
index ac464aa..010762b 100644
--- a/src/Test.TimeoutRecovery/Test.TimeoutRecovery.csproj
+++ b/src/Test.TimeoutRecovery/Test.TimeoutRecovery.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
diff --git a/src/Test.WinFormServer/Program.cs b/src/Test.WinFormServer/Program.cs
index 2b6f3f8..3a9f71a 100644
--- a/src/Test.WinFormServer/Program.cs
+++ b/src/Test.WinFormServer/Program.cs
@@ -3,6 +3,7 @@
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
+using WatsonTcp;
namespace Test.WinFormServer
{
diff --git a/src/WatsonTcp/WatsonTcp.csproj b/src/WatsonTcp/WatsonTcp.csproj
index f283f55..1f9d9a4 100644
--- a/src/WatsonTcp/WatsonTcp.csproj
+++ b/src/WatsonTcp/WatsonTcp.csproj
@@ -1,10 +1,10 @@
- netstandard2.0;netstandard2.1;netcoreapp3.1;net461;net462;net48;net6.0;net7.0
+ netstandard2.0;netstandard2.1;netcoreapp3.1;net461;net462;net48;net6.0;net7.0;net8.0
true
true
- 5.1.6
+ 5.1.7
Joel Christner
Joel Christner
A simple C# async TCP server and client with integrated framing for reliable transmission and receipt of data
diff --git a/src/WatsonTcp/WatsonTcp.xml b/src/WatsonTcp/WatsonTcp.xml
index df5f673..17acfc9 100644
--- a/src/WatsonTcp/WatsonTcp.xml
+++ b/src/WatsonTcp/WatsonTcp.xml
@@ -1014,7 +1014,7 @@
- Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is false.
+ Nagle's algorithm. Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is true.
@@ -1595,7 +1595,7 @@
- Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is false.
+ Nagle's algorithm. Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is true.
diff --git a/src/WatsonTcp/WatsonTcpClientSettings.cs b/src/WatsonTcp/WatsonTcpClientSettings.cs
index 3d4515b..e32fd2e 100644
--- a/src/WatsonTcp/WatsonTcpClientSettings.cs
+++ b/src/WatsonTcp/WatsonTcpClientSettings.cs
@@ -158,9 +158,9 @@ public int LocalPort
}
///
- /// Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is false.
+ /// Nagle's algorithm. Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is true.
///
- public bool NoDelay { get; set; } = false;
+ public bool NoDelay { get; set; } = true;
#endregion
diff --git a/src/WatsonTcp/WatsonTcpServerSettings.cs b/src/WatsonTcp/WatsonTcpServerSettings.cs
index 9abd41a..9a8db1c 100644
--- a/src/WatsonTcp/WatsonTcpServerSettings.cs
+++ b/src/WatsonTcp/WatsonTcpServerSettings.cs
@@ -146,9 +146,9 @@ public List BlockedIPs
}
///
- /// Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is false.
+ /// Nagle's algorithm. Disable the delay when send or receive buffers are not full. If true, disable the delay. Default is true.
///
- public bool NoDelay { get; set; } = false;
+ public bool NoDelay { get; set; } = true;
#endregion