Post

PipesClient.Constructor

Creates a client for a named PipesServer.


Remarks

The client does not connect until Start is called.


Syntax

SyntaxDescription
PipesClient(string pID, string sID = “.”)PipesClient constructor.

Parameters

NameTypeDescription
pIDstringShould match the ID of the server.
sIDstringDefault 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.

Trending Tags