#1 2022-11-29 15:57:26

Bjoern Henke
Member
Registered: 2022-11-22
Posts: 5

ExportServerNamedPipe and TSQLRestClientURINamedPipe in mORMot2

I'm currently trying to convert some code from an ex-colleague to mORMot2.
This code uses ExportServerNamedPipe and TSQLRestClientURINamedPipe for whose I can't find something similar in mORMot2.
(I only found some comments in the mORMot2 code mentioning some NamedPipe things that don't seem to exist either.)

What should I use in mORMot2 instead of ExportServerNamedPipe and TSQLRestClientURINamedPipe?

Offline

#2 2022-11-29 18:09:15

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

Re: ExportServerNamedPipe and TSQLRestClientURINamedPipe in mORMot2

Named pipes makes more troubles than solution on Windows, because they have very difficult security issues.
So we didn't moved it into mORMot 2.

What you could use is a regular HTTP connection on the loopback.
Just a blocking HTTP server could be fine, e.g. useHttpSocket.
You can try ServerThreadPoolCount = 0 for one thread per connection.

Offline

Board footer

Powered by FluxBB