Module std::io::net::addrinfo[src]
Synchronous DNS Resolution
Contains the functionality to perform DNS resolution in a style related to getaddrinfo()
Structs
| Hint | This structure is used to provide hints when fetching addresses for a remote host to control how the lookup is performed. |
| Info |
Enums
| Flag | Flags which can be or'd into the |
| Protocol | A transport protocol associated with either a hint or a return value of
|
| SocketType | Hints to the types of sockets that are desired when looking up hosts |
Functions
| get_host_addresses | Easy name resolution. Given a hostname, returns the list of IP addresses for that hostname. |