Topology > I/O Devices > Configure I/O Device Communications > TCP/IP Driver Special Options Reference
TCP/IP Driver Special Options Reference

Special Options (in the properties for a port) are space separated and start with the dash character (—) immediately followed by the option characters. You can use the following special options for TCP/IP:

Special option character

Description

—A

Allows the TCPIP driver to be used from Cicode.

—Ia.b.c.d

Defines remote IP address to connect to.

—K

Sets socket SO_KEEPALIVE flag.

—LIa.b.c.d

Defines local IP address.

—LPn

Defines local PORT.

—Ma.b.c.d

Defines multicast IP address. IP address joins a multicast group listening for UDP multicast packets. For the parameter to work configure the -LP local port switch, so the driver selects the correct port on the multicast IP to listen on.

This option can be set using the [TCPIP]PortName.MulticastAddress parameter. See Debugging a TCP/IP driver.

—Pn

Defines remote PORT to connect to.

—RC

Activates the reconnection retries on reception of FD_CLOSE event. FD_CLOSE is only received if the Keepalive option is activated. -RC can be useful where the TCP/IP driver is notified of the connection close. For a more comprehensive handling, the -k option is needed.

—T

Sets this port for TCP (stream) operation.

—U

Sets this port for UDP (datagram) operation.

Where:

a.b.c.d = standard IP address in dot notation using decimal numbers 0- 255. (Avoid using a leading 0 when adding an IP address).

n = decimal value for the port ID for the necessary service.

See Also

Published June 2018