You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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