Replies: 1 comment
-
|
I'm planning to add support for listener-less use of Windows named pipes (i.e. closer to the real Windows API) sometime in the future. I'm currently not sure how |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Thank you so much for such an incredible library!
[ I am using 2.2.1 with tokio ]
I am working on a windows project and was wondering if there was a way to implement an instance limit of 1? I don't see any configuration for using ListenerOptions + Streams, so looking at the pure-windows PipeListenerOptions + DuplexPipeListener led me to notice the comment about the limit needing to be somewhere between 2 and 254 (specifically it says a value of 1 breaks .accept(), but I don't see a way of making a connection without using .accept())
Would you know of a method besides accept which would allow the limit to be enforced? Or maybe some functional workaround that lets me run my own accept / limit the server side to a single client connection?
Thank you for any of your time!
Beta Was this translation helpful? Give feedback.
All reactions