Xeeny icon indicating copy to clipboard operation
Xeeny copied to clipboard

NamedPipe transport implementation

Open koderi-dp opened this issue 6 years ago • 1 comments

Hi,

First nice library, missing those DI to make it perfect.

Here is named pipe implementation, it was a bit tricky because of IListener and AcceptConnection and how the named pipe is working, but manage to get it sorted by using handshake logic, there was few examples on net, where client is connecting to server pipe, writing it's connection id, and with that id server pipe is created for client (data pipe => Transport => Channel)

i could reverse this so the server is generating pipe name for transport and sending it to client to connect, but i used the connection id from client which is for now more logical, 1 to 1, this could be extended to create auto reconnect etc...

koderi-dp avatar Aug 05 '18 09:08 koderi-dp

Thank you @danijel-peric and sorry for late reply, been too busy recently. I will merge this weekend.

MhAllan avatar Oct 11 '18 03:10 MhAllan