From 32ee79121d245a45d6012eda593caf18f6a259c1 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Sat, 2 Sep 2017 21:56:42 -0400 Subject: [PATCH] Buff the topic recieve size --- TGServerService/Interop.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TGServerService/Interop.cs b/TGServerService/Interop.cs index c8f4b06fdc..e71b35a6a3 100644 --- a/TGServerService/Interop.cs +++ b/TGServerService/Interop.cs @@ -124,7 +124,7 @@ namespace TGServerService string returnedString = "NULL"; try { - var returnedData = new byte[512]; + var returnedData = new byte[UInt16.MaxValue]; topicSender.Receive(returnedData); var raw_string = Encoding.ASCII.GetString(returnedData).TrimEnd(new char[] { (char)0 }).Trim(); if (raw_string.Length > 6)