TMedConnection.MedNodeAddr TMedConnection

property MedNodeAddr: string ;

Description

Property is used to specify IP address of the Mediator server to be used for this connection. Should be set before opening connection of type ctMEDSRV.

IP address can be set as either dotted IP or symbolic name. Default value is 127.0.0.1 which assumes Mediator server is waiting on the same machine where application is executed.

Example:

cn.MedNodeAddr := '10.1.1.1'; // Mediator server waiting at 10.1.1.1

// or

cn.MedNodeAddr := 'medsv.otc.pl'; // Mediator server waiting at medsv.otc.pl