Skip to content

Commit a438aa1

Browse files
committed
Comment added
1 parent 2baf3ba commit a438aa1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Source/NETworkManager/Models/Network/Traceroute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void TraceAsync(IPAddress ipAddress, TracerouteOptions traceOptions, Canc
4848

4949
bool maximumHopsReached = false;
5050

51-
// Check IP
51+
// Get the ttl of the ip
5252
using (System.Net.NetworkInformation.Ping ping = new System.Net.NetworkInformation.Ping())
5353
{
5454
PingReply pingReply;
@@ -71,6 +71,7 @@ public void TraceAsync(IPAddress ipAddress, TracerouteOptions traceOptions, Canc
7171
}
7272
}
7373

74+
// Async check all hops
7475
Parallel.For(1, maximumHops + 1, new ParallelOptions() { CancellationToken = cancellationToken }, i =>
7576
{
7677
List<Task<Tuple<PingReply, long>>> tasks = new List<Task<Tuple<PingReply, long>>>();

0 commit comments

Comments
 (0)