PipesServer Constructor
Creates a server under an identifier that clients use to find it.
Remarks
Creates the server but does not start it. Nothing listens until PipesServer.Start is called, so event handlers can be attached in between.
The identifier is the rendezvous point. A PipesClient constructed with the same string connects to this server, so the two must agree on it.
Syntax
| Syntax | Description |
|---|---|
| PipesServer(string sID) | Server constructor. |
Parameters
| Name | Type | Description |
|---|---|---|
| sID | string | Identity of the server. |
Example
1
2
3
4
5
using Nova.IPC.Pipes;
// The identifier is how clients find this server. A PipesClient
// constructed with the same string connects to it.
PipesServer server = new PipesServer("NovaDemoServer");
This post is licensed under CC BY 4.0 by the author.