From b5f611f3ba29e51e9cc232ea1b4085fdd1b1ebd0 Mon Sep 17 00:00:00 2001 From: Jason T Alborough Date: Fri, 17 Jan 2020 20:02:41 -0500 Subject: [PATCH] Changes the conditions under which the server would restart. --- ._Readme.md | Bin 0 -> 4096 bytes .../Comm/GenericSecureTcpIpServer.cs | 49 +++++++++--------- Readme.md | 2 + 3 files changed, 26 insertions(+), 25 deletions(-) create mode 100644 ._Readme.md diff --git a/._Readme.md b/._Readme.md new file mode 100644 index 0000000000000000000000000000000000000000..4a7c548aeb4b876ee8d84ed85cdf24ef8c50a25b GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103vS{8I^ zAw&nm0-$mMG%bukK2%&PIX_n~v7jI)RWB#8xTLf=H6eb6^f z7etSO(GVC7fzc2c4S~@R7!85Z5Eu=C(GVC7fzc2c4S~@Rz!d_Z&L#+hfm}#NX0bw1 zYH@yPQF5w6T7FTsLS|k`YF SecureServer.NumberOfClientsConnected && SecureServer.State == ServerState.SERVER_NOT_LISTENING) + if (SecureServer.MaxNumberOfClientSupported > SecureServer.NumberOfClientsConnected) { Listen(); } @@ -797,6 +795,7 @@ namespace PepperDash.Core { if (numberOfBytesReceived > 0) { + string received = "Nothing"; var handler = TextReceivedQueueInvoke; try diff --git a/Readme.md b/Readme.md index af824bf..0795018 100644 --- a/Readme.md +++ b/Readme.md @@ -15,3 +15,5 @@ - Build the project - Copy PepperDash_Core.cpz and PepperDash_Core.dll from the bin folder to the CLZ Builds folder in the repo root. Commit. - Merge the PR in Bitbucket + +