Description: Trace the routing of the applet program Principle: The program sends a request echo type 8 icmp packet, began to set this packet ttl to 1, to reach the first router, the router will ttl minus 1, then ttl becomes 0,
// router will discard this packet and send a timeout type icmp package 11, the program receives this package, parse out the source of this package ip, is the first router ip, and so on,
// send a second request echo icmp package, ttl is set to 2, the second router will be the same as the first one to deal with this package, you can get the second router ip, so the constant
//Increase icmp packet ttl value, when ttl large enough, icmp package can reach the destination,
// The destination sends a reply-reply message or a destination-unreachable packet, and the route tracing is completed.
To Search:
File list (Check if you may need any files):
Luyoufind
.........\Debug
.........\.....\Luyoufind.exe
.........\.....\Luyoufind.ilk
.........\.....\Luyoufind.pdb
.........\Luyoufind
.........\Luyoufind.sdf
.........\Luyoufind.sln
.........\Luyoufind.v12.suo
.........\.........\Debug
.........\.........\.....\Luyoufind.log
.........\.........\.....\Luyoufind.tlog
.........\.........\.....\..............\CL.read.1.tlog
.........\.........\.....\..............\CL.write.1.tlog
.........\.........\.....\..............\link.read.1.tlog
.........\.........\.....\..............\link.write.1.tlog
.........\.........\.....\..............\Luyoufind.lastbuildstate
.........\.........\.....\tracert.obj
.........\.........\.....\vc120.idb
.........\.........\.....\vc120.pdb
.........\.........\Luyoufind.vcxproj
.........\.........\Luyoufind.vcxproj.filters
.........\.........\tracert.cpp