PipesClient.Constructor
Creates a client for a named PipesServer.
Remarks
The client does not connect until Start is called.
Syntax
| Syntax | Description |
|---|---|
| PipesClient(string pID, string sID = “.”) | PipesClient constructor. |
Parameters
| Name | Type | Description |
|---|---|---|
| pID | string | Should match the ID of the server. |
| sID | string | Default value is “.” indicating local server. Otherwise provide network ID. |
Example
1
2
3
4
5
6
7
using Nova.IPC.Pipes;
// A server on this computer.
PipesClient client = new PipesClient("NovaDemoServer");
// A server on another computer on the network.
PipesClient remote = new PipesClient("NovaDemoServer", "LabPC");
This post is licensed under CC BY 4.0 by the author.