static QHostAddress FX::FXNetwork::dnsLookup ( const FXString name  )  [static]

Performs a translation of textual name to IP address by querying a DNS provider on the network. This call can take seconds and so should be called from a worker thread. IPv6 addresses are preferred to IPv4 where possible. If the name isn't found due to not existing or no DNS server available, a null address is returned - however an exception is still thrown for errors.


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:35:22 2009 for TnFOX by doxygen v1.4.7