In a Windows system (in this case Windows 7) we have the "hosts" file in Windows\System32\drivers\etc

This location also has 3 other files:

  1. networks
  2. protocol
  3. services

Note: the "services" file was explained in this other question. But what function does the "networks" and "protocol" files provide?

1 Answer 1


They are used to support functions in the networking libraries:

  • protocol is used by getprotobyname

  • network is used by applications doing loopback connections.

Further reading

  • I am surprised that this has survived. It's just a bunch of links and answers nothing. Jun 6 at 12:44
  • Link only answers are not quality answers, unfortunately.
    – studiohack
    Aug 3 at 13:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .