PSF/2 AFP Printing Using TCP/IP

Xerox 4500 PS TR

17.3 OS/2 KEEPALIVE configuration

The TCP/IP "inetcfg" command can be used to configure the "KEEPALIVE" parameter.

inetcfg KEEPALIVE=nnn

where nnn is the number of minutes a TCP connection must remain inactive before TCP generates a KEEPALIVE transmission for an application that requests them.

Default is 120 minutes.

The inetcfg command must be run each time the OS/2 system is started. Adding the inetcfg command to \tcpip\bin\tcpstart.cmd is a convenient way of automating this step.

Adding, e.g.

inetcfg KEEPALIVE=4

to \tcpip\bin\tcpstart.cmd causes TCP to send a KEEPALIVE transmission if a TCP connection has been inactive for 4 minutes and the application requested KEEPALIVE transmissions, as OS/2 now does. OS/2 recommends this TCP configuration setting to customers who use TCP/IP attached printers and the device.

If the KEEPALIVE transmission is not acknowledged, the TCP will attempt to re-connect up to 9 times. The interval between these attempts is fixed but short.

140

Page 140
Image 140
Xerox 4500 PS TR instruction manual 17.3 OS/2 Keepalive configuration