Determine if server exists before trying to connect #96
Replies: 1 comment
-
|
https://github.com/HavenDV/H.Pipes/blob/master/src/libs/H.Pipes/PipeWatcher.cs Turns out it was something simple that I didn't see in the documentation anywhere, but the PipeWatcher class can IsExists(string PipeName), or it can GetActivePipes() and you can do the Contains(string) yourself. |
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.
-
I assume I'm missing something fairly obvious, but is there a way for a PipeClient to know whether or not there is a PipeServer to connect to for a given pipe name? The main idea being: If server is running, message the server; otherwise do something else.
Beta Was this translation helpful? Give feedback.
All reactions