Receive on TCP

At the receiving end of the TCP/IP connection, there are a number of settings to configure.

Receive channel programs are started in response to a startup request from the sending channel. To do so, a listener program has to be started to detect incoming network requests and start the associated channel. You start this listener program with the START LISTENER command, or using the operations and control panels.

By default:

  • The TCP Listener program uses port 1414 and listens on all addresses available to your TCP stack.
  • TCP/IP listeners can bind only to addresses associated with the TCP/IP stack named in the TCPNAME queue manager attribute.

To start listeners for other addresses, or all available TCP stacks, set your TCPSTACK queue manager attribute to 'MULTIPLE'.

We can start your TCP listener program to listen only on a specific address or host name by specifying IPADDR in the START LISTENER command. For more information, see Listeners.

Parent topic: Defining a TCP connection on z/OS