Delphi XE6
RO SDK .1137
The “Proxy Server” sample does not work out of the box - trying to call a method on the proxy server results in an exception.
Adding the channel port in the TProxyService constructor fixes this
constructor TProxyService.Create;
begin
inherited;
fTCPChannel := TROIndyTCPChannel.Create(nil);
fTCPChannel.Port := 8090; // <--- added
fBINMessage := TROBINMessage.Create(nil);
end;
Cheers
Bernhard