CONNECTRETURNPORT

When CNXCONNECTBACK is enabled, the specified port number will be reserved on the client, and the server component will connect back to the client on the specified TCP/IP port.

 

CONNECTRETURNPORT =  0 or VALID PORT NUMBER

 

This option applies when CONNX makes TCP/IP connections to a CONNX Listener on a remote server (for example when connecting to VSAM files on a IBM Mainframe, or RMS file on a VMS Server, or C-ISAM files on a UNIX server). CONNX initiates a connection to a listener, sends some connection information, and then disconnects. The listener start a new server process, and the server connects back to the client PC on a specified port.

This option controls the port that is used during that connect back process. If this option is zero (default) or not present,  CONNX chooses the next available port on the client PC. If a specific port number is specified, then CONNX first attempts to use that port. If the port is unavailable, CONNX increments the port number until it finds an available port.

 

Default = 0.

 

Environments: Client, Windows, Unix

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

 

Unix Registry Setting: CONNECTRETURNPORT