NETWORKS File Structure

The NETWORKS file contains the network name, number, and alias or aliases of known networks. The NETWORKS file must reside in the directory specified by the ETC environment variable. The NETWORKS file is used only by the following socket calls:

The following table lists examples of network names contained in the NETWORKS file.

Name Structures of Known Networks

 Name of File           Contents of File       Sample File Entries
 ────────────────────────────────────────────────────────────────────
 NETWORKS               official_network_name  ne-region 128.1
                        network_number alias   classb.net1 at1-region
                                               128.2 classb.net2
                                               lab-net 192.5.1
                                               classc.net5


[Back: Appendixes]
[Next: Socket Error Constants]