Question: which one of the following function returns the port number of a specified service?
Answer: 6. Which one of the following function returns the port number of a specified service? Explanation: The function fgetservbyname() returns the port number for a given Internet service and protocol. Example-getservbyname(“http”,”tcp”) will return 80.