1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-15 09:43:35 -05:00

update CoD4x parser

tweak handling segmented status response
actually support more than 18 clients LOL
This commit is contained in:
RaidMax
2020-12-02 14:29:49 -06:00
parent 78ae9dec74
commit c77f956aca
6 changed files with 44 additions and 36 deletions

View File

@ -18,7 +18,7 @@ namespace IW4MAdmin.Application.RCon
}
public int ConnectionAttempts { get; set; }
const int BufferSize = 4096;
const int BufferSize = 8192;
public readonly byte[] ReceiveBuffer = new byte[BufferSize];
public readonly SemaphoreSlim OnComplete = new SemaphoreSlim(1, 1);
public readonly ManualResetEventSlim OnSentData = new ManualResetEventSlim(false);