- * Resolves the IP address of the hostname indicated by the `host'.
- * This returns TRUE and the IP address of the host, or FALSE
- * if the address could not be resolved. This is synchronous
- * function and will block the calling process.
+ * Resolves the IP address of the hostname indicated by the `name'.
+ * This returns TRUE and the IP address of the host to the `address'
+ * buffer, or FALSE if the address could not be resolved. This is
+ * synchronous function and will block the calling process. If the
+ * `prefer_ipv6' is TRUE then this will return IPv6 address if it
+ * finds. If FALSE if returns IPv4 address even if it found IPv6
+ * address also.