UCM Unitec Home Page
      

TCP/IP Host Name

 Host(P)

Name   Environment   Usage   Description   Data Type   Remarks   See also

Name

Host

Environment

Windows

Usage

[Form.]Ucm.Host = value$

Description

The Host property identifies the IP address of the system providing the server functionality. The value can be set in the standard four number notation (e.g. "128.41.1.3") or as symbolic alias name as defined in the TCP/IP hosts file. On Unix systems, this file is located in the /etc directory. On Windows systems the location varies depending on OS type and version. Each line in the hosts file contains the numeric IP address and one or more symbolic alias names.

Once both set, the Host and Port properties reduces the I/O scope to messages from that service in the communication space CommID (and - as always - to messages with the same ID as defined by the InputID property). If Host is not set, messages from any source that match InputID will be received and output is forwarded to all UCM controls on the local system that have their Service, Host and Port properties cleared too.

The Host property is meaningful only with AdrMode set to ucmTCP.

Data Type

String

Remarks

In addition to the IP address, the ucmTCP addressing mode requires the setting of a valid port number or service alias name in the Port property. For local communication neither the Host nor the Port property should be set.

A connection is established upon the first send operation of the control. If a socket with identical Host, Port and CommID already exists, the control uses this existing communication link. Note, that this may also occur indirectly when the line was established using a synonym Service property with addressing mode ucmService.

See also

AdrMode, CommID, Port, Service

 

Back to top