Configuring Java CAPS Environment Components for Communications Adapters

TCPIP Server (Inbound) Adapter - TCPIP Inbound Settings

Specifies the Java Socket and ServerSocket options. For more information, refer to the JDK Javadoc.

The TCPIPServer (Inbound) Adapter - TCPIP Inbound Settings properties contain the top-level parameters displayed in the following table.

Table 3 TCPIP Server (Inbound) Adapter - MDB Properties

Name 

Description 

Required Value 

Host

Specifies the host name or IP address used to establish a TCPIP connection. This parameter is only used when Connection Type is Client. 

A TCP/IP host name or IP address. 

ServerPort

Specifies the port number of the TCP/IP destination. This is dependent upon the specified Connection Type. If the value for Connection Type is: 

  • Server: the ServerPort value is set to the port number on the local host.

  • Client: the ServerPort value is set to the port number of the external host.

An integer between 0 and 65535, indicating the port number of the TCP/IP destination. 

The port number of the TCP/IP destination. The default is 8888.


Note –

TCP/IP server connects binds to random port, if the port number is 0.


Backlog

Specifies the maximum length of the queue when creating the ServerSocket. The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter. If a connection indication arrives when the queue is full, the connection is refused. 


Note –

This parameter is only used when Connection Type is set to Server.


An integer indicting the queue length for incoming connections. 

The configured default value is 50.