TCP/IP Programming Manual
In addition, the following corrections were made:
• Sample programs were modified to show Include statements.
• TAL syntax diagrams were updated to show INT(32) declarations instead of INT since the
WIDE model is more frequently used.
• The description of inet_ntop inTable 13 (page 83) was corrected.
• There was a correction to the code example for freeaddrinfo (page 104).
• Since you no longer have to define the SRL before starting the TCP6SAM process (as of
G06.24), the table of DEFINEs in the section Using the DEFINE Command (page 29) was
changed to reflect that the SRL only needs to be defined for TCPSAM processes and TCP6SAM
processes for pre-G06.24 RVUs of NonStop TCP/IPv6.
• Statements for including the appropriate header files were added to the syntax declarations
for the data structures shown in Chapter 3 (page 62).
• TAL definitions for library-routine syntax in Chapter 4 (page 81) were modified wherever INT
declarations were made so that INT(32) is shown instead.
• A correction was to the errors defined for if_nameindex (page 132).
• The introductory paragraph for the example for if_freenameindex (page 130) was corrected
to refer to the if_nameindex function demonstrated in the sample.
Correction Update (December 2004, 524521-005)
• The TAL synopsis for the sock_close_reuse_nw library routine was added under
sock_close_reuse_nw (page 190).
• The description of the flags parameter of the socket, socket_nw (page 191) was modified.
• The usage guidelines of the socket, socket_nw library routine was modified under Usage
Guidelines (page 193)Usage Guidelines.
• A sample program for AF_INET No-Wait Server Stub Routine was added underAF_INET
No-Wait Server Stub Routine (page 212).
• These sample programs have been modified to run without warnings:
AF_INET Server Stub Routine (page 210)◦
◦ C TCP Client Program (page 215)
◦ C TCP Server Program (page 217)
◦ UDP Client Program (page 219)
◦ UDP Server Program (page 223)
Correction Update (September 2004, 524521-004)
Information has been added to the error descriptions for accept_nw2 (page 95).
Manual Consolidation Update (March 2004, 524521-003)
• Information about the Parallel Library TCP/IP subsystem has been added to this manual; all
three NonStop TCP/IP subsystems are now documented in this manual and the TCP/IP and
IPX/SPX Programming Manual has been changed to the IPX/SPX Programming Manual.
• Overview information about the three NonStop TCP/IP subsystems has been added to NonStop
TCP/IP Subsystems and the Guardian Sockets Application Program Interface (API) (page 23).
14