#1 2020-11-21 15:57:46

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

Callbacks over Named Pipes

Is this possible to implement bidirectional communication like websockets using Named Pipes or callbacks available onky in websocket with useBidirSocket parameter.

Offline

#2 2020-11-21 17:24:50

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

Re: Callbacks over Named Pipes

We don't plan it because

1. WebSockets on the loopback (127.0.0.1) have very good performance - at least as fast as named pipes from our tests
2. We had issues with Named pipes security between Windows services or between a Windows service and a desktop app

Offline

#3 2020-11-21 18:50:12

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

Re: Callbacks over Named Pipes

So, for business application in desktop client-server architecture with callbacks feature (bidirectional communication) and the same for web client-server preferred solution is using websockets. In that right?

Offline

#4 2020-11-21 21:06:59

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

Re: Callbacks over Named Pipes

Yes.

smile

Offline

Board footer

Powered by FluxBB