Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Networkf/NetworkService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ static void Log(string format, params object[] args) {
Log(string.Format(format, args));
}

public const int KBufferSize = 2048, KLengthFieldSize = 2, KCrc32FieldSize = 4, KContentMaxSize = KBufferSize - KLengthFieldSize - KCrc32FieldSize;
public const int KBufferSize = 4096, KLengthFieldSize = 2, KCrc32FieldSize = 4, KContentMaxSize = KBufferSize - KLengthFieldSize - KCrc32FieldSize;
public ParseMessageDelegate parseMessage;

public readonly int id;
Expand Down