DNS 查找

演示如何查找主机名使用 QDnsLookup .

此范例使用 QDnsLookup to demonstrate how to look up a host name and print the results on the command line. As well as how you can use QCommandLineParser 来剖析命令行自变量。

To perform a lookup, specify a host name and a type, then invoke the Q Dns Lookup lookup slot.

范例工程 @ code.qt.io