Connected Example

The following program code sets the Connected property to True:

procedure TForm1.btnConnectClick(Sender: TObject);
begin
  RPCBroker1.Server := txtServer.Text;
  RPCBroker1.ListenerPort := StrToInt(txtPort.Text);
  RPCBroker1.Connected := True;
end;

information icon The Server and ListenerPort properties must be set at design or run-time before setting the Connected property to True.