Post

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

SyntaxDescription
PipesServer(string sID)Server constructor.

Parameters

NameTypeDescription
sIDstringIdentity 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.

Trending Tags