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