CTraceRoute封装跟踪路由功能
CTraceRoute封裝跟蹤路由功能
一個 MFC 類,用于封裝跟蹤路由功能,CTraceRoute包含一個簡單而干凈的 C++ 接口,可用于網絡故障排除和診斷
CTraceRoute 被設計為一個 MFC 類,以支持實現類似于 Windows 中包含的“tracert”應用程序的跟蹤路由功能。如果您不知道,tracert 是一個實用程序,CTraceRoute記錄計算機通過 Internet 直到到達特定目的地的路由或每個網關。
CTraceRoute跟蹤路由基于 PING / ICMP 協議,并具有計算每個希望花費的金額的作用。直接的好處是它可以幫助網絡管理員了解連接問題。作為旁注,ICMP 是指一種 Internet 協議,用于檢索有關 IP 數據包如何路由的信息。
因此,CTraceRoute可以在開發各種應用程序以進行故障排除或檢測 Internet 連接的潛在問題時使用該庫。此外,它包含在完全符合 Unicode 的 C++ 類中,并在工作區文件中包含 Unicode 構建選項。
在CTraceRoute庫的值得注意的特性中,您可以計算可通過類 API 設置的可配置超時,并提供虛擬函數來支持回調。最后但同樣重要的是,該應用程序帶有一個簡單而干凈的同步 C++ 接口,據開發人員稱,它可以提供比使用異步套接字更簡單的編程模型。
An MFC class is used to encapsulate the tracking routing function. It contains a simple and clean C + + interface, which can be used for network troubleshooting and diagnosis
Ctraceroute is designed as an MFC class to support the tracking routing function similar to the "tracer" application included in windows. If you don't know, tracert is a utility that records the route or each gateway of a computer through the Internet until it reaches a specific destination.
Tracking routing is based on Ping / ICMP Protocol and has the function of calculating the amount of each desired cost. The immediate benefit is that it can help network administrators understand connection problems. As a side note, ICMP refers to an internet protocol used to retrieve information about how IP packets are routed.
總結
以上是生活随笔為你收集整理的CTraceRoute封装跟踪路由功能的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Visual Studio Code+d
- 下一篇: 简单几步让App Store软件下载快如