Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NamedPipe transport implementation #14

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

koderi-dp
Copy link

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...

@MhAllan
Copy link
Owner

MhAllan commented Oct 11, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants