#1 2016-07-03 06:41:01

Peter Evans
Member
Registered: 2016-07-03
Posts: 32

Sample 14 Interface based services - options 1 and 3

Last week I downloaded mORMot and successfully got all the Tests to work.
I am very impressed with what I see.

I want to migrate a DataSnap program. It uses methods on the Server and
Client to communicate. The Server is Delphi VCL. One Client is FireMonkey
on Windows. Another Client is FireMonkey on Android.

So I am investigating Interface based services.

I have run Sample "14 - Interface based services". (Running on Windodws 10)

There are 3 options:-
1) HTTP / TCP-IP
2) Named Pipe
3) Weak HTTP / TCP-IP.

I can get option 2) to work.
But option 1) and option 3) I get an error. This is like :-

  Server not available - { "EWinHTTP":"winhttp.dll error 12029 (A
  connection with the server could not be established)" }

Is this a Windows permissions problem of some kind?

How do I go about pinpointing the error?

Regards,
  Peter Evans

Offline

#2 2016-07-03 07:33:45

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Sample 14 Interface based services - options 1 and 3

By definition, you need the proper server to run:
- Project14Server.dpr for Named Pipes
- Project14ServerHttp.dpr for HTTP
- Project14ServerHttpWeak.dpr for HTTP/weak

Offline

#3 2016-07-03 22:31:36

Peter Evans
Member
Registered: 2016-07-03
Posts: 32

Re: Sample 14 Interface based services - options 1 and 3

I very much appreciate your solution.
The Samples are now working!

Best Regards,
  Peter Evans

Offline

Board footer

Powered by FluxBB