provided, use sethostent (3), gethostent (3), and endhostent (3) to enumerate the hosts database. This ... provided, use sethostent (3), gethostent (3), and endhostent (3) to enume…