4.22. Request Network Options

See also Request/Response for more information about this feature.

4.22.1. request_tcp_bind_request_port (context)

Allows you to turn off request port binding. Setting this option to 0 prevents sockets from being bound to the request port. Turning off request port binding also turns off the UM features: Request/Response, Late Join, the reception of Unicast Immediate Messages and UMP.

Scope: context
Type: int
Default value: 1
When to Set: Can only be set during object initialization.
Version: This option was implemented in LBM 3.3.7/UME 2.0.5.
Value Description
1 Set request port binding. Default for all.
0 Turn off request port binding.

4.22.2. request_tcp_interface (context)

Specifies the network interface over which UM accepts TCP connections in response to requests it has sent out. You can specify a full IP address of interface, or just the network part (see Specifying Interfaces for details). Default is set to INADDR_ANY, meaning that it will not bind to a specific interface. You can also modify the default by setting the option to 0.0.0.0/0 which produces the same result.

Scope: context
Type: lbm_ipv4_address_mask_t
Default value: 0.0.0.0 (INADDR_ANY)
When to Set: Can only be set during object initialization.

4.22.3. request_tcp_port (context)

Port number used for listening for responses from requests. If 0, use a random open port within the range of [request_tcp_port_low, request_tcp_port_high]. If nonzero, the specific port number is used instead. Each UM context will bind to a TCP port for requests when it is initialized.

Scope: context
Type: lbm_uint16_t
Default value: 0 (use open port)
Byte order: Network
When to Set: Can only be set during object initialization.

4.22.4. request_tcp_port_high (context)

High port number to use for listening for responses from requests.

Scope: context
Type: lbm_uint16_t
Default value: 14395
Byte order: Host
When to Set: Can only be set during object initialization.

4.22.5. request_tcp_port_low (context)

Low port number to use for listening for responses from requests.

Scope: context
Type: lbm_uint16_t
Default value: 14391
Byte order: Host
When to Set: Can only be set during object initialization.

Copyright (c) 2004 - 2014 Informatica Corporation. All rights reserved.