mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Enable TCP Read Timeout (#1348)
Fix attempt for #1321 Co-authored-by: ORelio <ORelio@users.noreply.github.com>
This commit is contained in:
parent
20f6375153
commit
9b5fde0689
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ namespace MinecraftClient
|
|||
{
|
||||
client = ProxyHandler.newTcpClient(host, port);
|
||||
client.ReceiveBufferSize = 1024 * 1024;
|
||||
client.ReceiveTimeout = 30000; // 30 seconds
|
||||
handler = Protocol.ProtocolHandler.GetProtocolHandler(client, protocolversion, forgeInfo, this);
|
||||
Translations.WriteLine("mcc.version_supported");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue