-#if __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ >= 10200
- struct hostent *he = gethostbyname(hs.c_str());
- if (he == NULL || he->h_addr_list[0] == NULL) {
- _error->Error(hstrerror(h_errno));
- Fail(true);
- free(url);
- }
-
- uri.Host = inet_ntoa(* (struct in_addr *) he->h_addr_list[0]);
-#endif
-