What function do the "networks" and "protocol" files provide?

3

1

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?

x457812

Posted 2015-11-28T02:53:11.817

Reputation: 2 219

Answers

2

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

Thomas Dickey

Posted 2015-11-28T02:53:11.817

Reputation: 6 891