Xeeny
Xeeny copied to clipboard
NamedPipe transport implementation
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...
Thank you @danijel-peric and sorry for late reply, been too busy recently. I will merge this weekend.