The network table contains the networks and the Internet address associated with the network. Socket applications use the getnetbyname() and getnetbyaddr() functions to access the information in the network table (Figure 61).
Work with Network Table Entry
System: SYSNAM03
Type options, press Enter. 1=Add 4=Remove 5=Display
|
| Internet |
Opt | Network | address |
______________________________________ _______________
_ | IBM | 9.0.0.0 |
Bottom
Parameters for options 1 and 4 or command
===> ______________________________________________________________________
F3=Exit F4=Prompt F5=Refresh F6=Print list F9=Retrieve F12=Cancel F17=Top F18=Bottom
Figure 61. Work with Network Table Entry Display
The protocols and services tables that are shipped contain standard information. The network tables do not contain any information. The network IBM information has been added in Figure 61, as an example.
For additional information about sockets, refer to Socket Programming (http://publib.boulder.ibm.com/pubs/html/as400/v5r1/ic2924/info/rzab6/ rzab6soxoverview.htm) in the Information Center. If you are using the Supplemental Manuals CD, then switch to the iSeries Information Center CD to access this information.
Using X.25 PVC instead of SVC
In “Step
To replace the X.25 SVC with an X.25 permanent virtual circuit (PVC) connection, the example below is helpful. The following CL commands will look different: CRTLINX25, ADDTCPIFC, and ADDTCPRSI.
Use the same X.25 line description, but replace the first of the four SVCs with a PVC.
CRTLINX25 LIND(X25LINE) RSRCNAME(LIN051) LGLCHLE((001 *PVC) (002 *SVCBOTH)
(003 *SVCBOTH) (004 *SVCBOTH)) NETADR(40030003) CNNINIT(*LOCAL) TEXT('ITSO X.25 Network')
Chapter 2. TCP/IP: Operation, Management, and Advanced Topics 67