Post

PipesConnection.Constructor

Creates a connection from the server's stream.


Remarks

PipesServer and PipesClient create and open their own connections. Code using them receives a connection through their events rather than constructing one.


Syntax

SyntaxDescription
PipesConnection(int id, string name, PipeStream serverStream)Constructor that passes the stream from the server, plus any identifiers.

Parameters

NameTypeDescription
idintAn iterative connection ID.
namestringThe name of the client.
serverStreamPipeStreamThe PipeStream from the server.
This post is licensed under CC BY 4.0 by the author.

Trending Tags