Fix client crash when historic is too big
Because you deserve it
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Net.Sockets;
|
||||
|
||||
namespace PlantBox.Shared.Communication
|
||||
{
|
||||
@@ -32,5 +33,10 @@ namespace PlantBox.Shared.Communication
|
||||
/// Port used by the broker to accept clients
|
||||
/// </summary>
|
||||
public const int TCP_CLIENT_PORT = 1403;
|
||||
|
||||
/// <summary>
|
||||
/// Bytes to read at a time in a <see cref="NetworkStream"/>
|
||||
/// </summary>
|
||||
public const int BUFFER_SIZE = 4096;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user