PipesClient.Start
Starts the client.
Remarks
Start returns at once and connects in the background, waiting for the server if it is not yet running. Subscribe to the events before calling Start, and use WaitForConnection when the next step needs the connection.
Syntax
| Syntax | Description |
|---|---|
| Start() | Starts the client. |
Example
1
2
3
4
5
6
7
8
using Nova.IPC.Pipes;
PipesClient client = new PipesClient("NovaDemoServer");
client.ServerMessage += (connection, message) =>
Console.WriteLine("Server says: " + message.DecodeString());
client.Start();
client.WaitForConnection(5000);
This post is licensed under CC BY 4.0 by the author.