TCPListener

The <TCPListener> element provides a remoting layer based on a TCP socket and is recommended for use on Windows.

If a relevant element is absent from the configuration, this is auto-configured on Windows platforms, with default settings as noted below.

Attributes

Name

Type

Default

Description

Name

Type

Default

Description

address

IP address in decimal dotted notation

127.0.0.1

Network address to bind or connect to. Can be set via the SHIBSP_LISTENER_ADDRESS environment variable.

port

integer

1600

TCP socket port to bind or connect to. Can be set via the SHIBSP_LISTENER_PORT environment variable.

acl 

space-delimited list of IP addresses (V4/V6) or CIDR statement

127.0.0.1

List of network addresses to permit connections from

stackSize

size in kilobytes

0

If non-zero, sets the stack size of daemon worker threads in kilobytes. Zero results in the default OS-supplied size being used.

clientAddress

IP address in decimal dotted notation

 

If set, this overrides the address attribute for the "in-process" half of the system (web server modules)

clientPort 

integer

 

If set, this overrides the port attribute for the "in-process" half of the system (web server modules)

retryErrors 3.4

space-delimited list of errno values

 

If set, socket errors that match one of the values will cause the SP to attempt to retry request

Child Elements

None

Example

Equivalent to Windows Default
<TCPListener address="127.0.0.1" port="1600" acl="127.0.0.1"/>