Update Program.cs

pull/1/head
unknown 4 years ago
parent 5ae2ee4141
commit cace40a818

@ -1,6 +1,5 @@
using System; using System;
using System.Net; using System.Net;
using System.Threading;
using ZeroLevel; using ZeroLevel;
using ZeroLevel.Network; using ZeroLevel.Network;
using ZeroLevel.Services.HashFunctions; using ZeroLevel.Services.HashFunctions;
@ -67,7 +66,7 @@ namespace Client
var port = ReadPort(); var port = ReadPort();
var client = ex.GetConnection(new IPEndPoint(address, port)); var client = ex.GetConnection(new IPEndPoint(address, port));
uint index = 0; uint index = 623;
while (true) while (true)
{ {
if (Console.KeyAvailable) if (Console.KeyAvailable)
@ -81,11 +80,11 @@ namespace Client
} }
if (index % 2 == 0) if (index % 2 == 0)
{ {
SendDataEqParts(client, index, 1024 * 1024 + index * 3 + 1); SendDataEqParts(client, index, 1024 * 1024 + index * 30 + 1);
} }
else else
{ {
SendDataDiffParts(client, index, 1024 * 1024 + index * 3 + 1); SendDataDiffParts(client, index, 1024 * 1024 + index * 30 + 1);
} }
index++; index++;
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.