COMMSTRING
The COMMSTRING parameter specifies the protocol identifier and address for communication.
Description
The connection handler supports
TCP/IP. The COMMSTRING
value defines the protocol followed by the protocol specific information
- For developing remote client applications with
a TCP/IP connection handler, you need the protocol identifier
TCP, followed by the IP address of the machine that the Classic data
server is running on, and the port number that is assigned to this
server as a listen port. For example: TCP/host-name/port-number.The client connection string supports Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6). For example:
SET,CONFIG,SERVICE=INIT,COMMSTRING='TCP/0.0.0.0/9087'; (IPv4) SET,CONFIG,SERVICE=INIT,COMMSTRING='TCP/::/9087'; (IPv6)If you try to connect to the data server by using IPv6, you might need to provide a scope if you are using a link-local address. The scope is typically the network interface name that you specify following the IPv6 address. The format isipv6 address%scope. For example:SET,CONFIG,SERVICE=INIT,COMMSTRING='TCP/fe80::xxxx:xxxx:xxxx:xxxx%INTF0001/9087';
Specification
Use: Configuration parameter for the connection handler service.
Service class: INIT
Service task: CACINIT
Data type: CHAR(64)
Default: TCP/0.0.0.0/9087