Skip to content

Commit

Permalink
Fix duplicate/incorrect packets on slow connections
Browse files Browse the repository at this point in the history
  • Loading branch information
JVital2013 committed Nov 5, 2022
1 parent f7fe3d1 commit 9548460
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions goesbetween/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ static void Transport()
//Write Information before header
if (bytesBeforeHeader > 0)
{
stream.Write(dres, startReadingAt, bytesBeforeHeader);
Buffer.BlockCopy(dres, startReadingAt, buffer, totalBytes, bytesBeforeHeader);
totalBytes += bytesBeforeHeader;
}
Expand Down Expand Up @@ -275,7 +274,7 @@ static void Cleanup()

static void Help()
{
Console.WriteLine("goesbetween 1.0 - 2022 Jamie Vital");
Console.WriteLine("goesbetween 1.0.1 - 2022 Jamie Vital");
Console.WriteLine("Bridges IQ samples from goesrecv to any RTL_TCP client\n");
Console.WriteLine("Example usage:\n");
Console.WriteLine(" Defaults: ./goesbetween");
Expand Down

0 comments on commit 9548460

Please sign in to comment.