✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
PHOSTENT phe;
phe = gethostbyname("ftp.microsoft.com");
if(phe == NULL)
{
*****(srv_socket);
MessageBox(NULL, "gethostbyname Error", "Error", MВ_ОК);
return;
}
memcpy((char FAR *)&(dest_sin.sin_addr), phe->h_addr, phe->h_length);
Вкажіть ім’я функції на місце зірочок (******)