CNXCONNECTBACK

Enables / Disables TCP/IP socket sharing in the Listener connection logic.

 

CNXCONNECTBACK = 0

 

The client creates a TCP/IP socket and associate it with the installation port (usually 6500). The installation port will need to be open on the CONNX listener machine. After the initial connection to the listener with this socket:

  • If CNXCONNECTBACK = 0, the listener hands the client-created socket to the CONNX server. This socket is used by the rest of the server-client and client-server communications until the client closes the connection. This is the optimal setting.

  • If CNXCONNECTBACK = 1, the listener tells the CONNX server the client information and closes the client-created socket. The server creates a new socket and associates it with a port on the client machine. This server-created socket is used by the rest of the server-client and client-server communications until the client closes the connection.

The presence or absence of a firewall between the CONNX client and server will affect the use of CNXCONNECTBACK:

  • If there is no firewall between the CONNX client and server the customer does not need to be concerned with the CNXCONNECTBACK setting.

  • If there is a firewall between the CONNX client and server, we recommend setting  CNXCONNECTBACK to 0 because the only port that needs to be open through the CONNX server machine firewall  is the installation port (usually 6500). If CNXCONNECTBACK is 1, a port must be opened in the firewall on each of the client machines connecting to the server because the server is creating a new socket associated with a port on the client.

There is no performance gain with either setting of CNXCONNECTBACK. All communication is done over one socket for each connection; it only changes which part of CONNX creates the socket.

 

Default = 0  enable.

 

Environments: Server

Configuration Manager: CONNX Settings; Current Key = CONNX; Key Value/Value Name =  CNXCONNECTBACK

 

Unix Environment Variable: CNXCONNECTBACK

VMS Logical: CNXCONNECTBACK

Started Task: CNXCONNECTBACK

CICS:  CNXCONNECTBACK