# COMP1521 18s1 Exam Q10 A. A DNS server maps names to IP addresses; using DNS, a client attempting to connect to a host by name is able to obtain the IP address associated with that name. B. The IP address 127.0.0.1 represents the address of the local host or the current computer. That is, a host referencing 127.0.0.1 is referencing itself. C. { s = socket (AF_INET, SOCK_STREAM, IP); connect (s, &serverAddr, Size); write (s, &message, strlen (message) + 1); read (s, &buffer, bufferLen); }