The following diagram depicts the basic skeleton of a C program for client-side networking, with arrows representing the flow of data between them. Fill in the names of the functions being called, and the arguments being passed. Then, for each arrow in the diagram, fill in the type and/or data that it represents. Submit the filled-in sheet on elearning.
Specify lookup hints:
Dotted boxes should be filled in with the data type.
(hostname, servname,
extract fields from result (IPv4 vs IPv6)
type, protocol)
addrlen)
read(
buf, count)
write(
buf, count)
close(