Buff the topic recieve size

This commit is contained in:
Cyberboss
2017-09-02 21:56:42 -04:00
parent 9230e96481
commit 32ee79121d
+1 -1
View File
@@ -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)