Home

 

Use the TCP/IP SO_KEEPALIVE option

 

If you want to use the SO_KEEPALIVE option (as discussed in Checking that the other end of the channel is still available) the add the following entry to your queue manager configuration file (qm.ini):

TCP:
   KeepAlive=yes

On some UNIX systems, we can define how long TCP waits before checking that the connection is still available, and how frequently it retries the connection if the first check fails. This is either a kernel tunable parameter, or can be entered at the command line. See the documentation for your UNIX system for more information.

 

Parent topic:

Receiving on TCP


ic13360_


 

Home