Method | Description | |
---|---|---|
Close ( ) : void |
Closes the operating system native handle of the named pipe.
|
|
Connect ( ) : void |
Starts listening to client pipe connections. This method will block the program execution until a client pipe attempts to establish a connection. |
|
Disconnect ( ) : void |
Disconnects a client named pipe. When a client named pipe is disconnected, the server one is not closed. The latter can later be reused by starting to listen again. |
|
ServerPipeConnection ( string name, uint outBuffer, uint inBuffer, int maxReadBytes ) |
Creates a ServerPipeConnection instance and the underlying operating system handle.
|
public ServerPipeConnection ( string name, uint outBuffer, uint inBuffer, int maxReadBytes ) | ||
name | string | The name of the pipe. |
outBuffer | uint | The outbound buffer. |
inBuffer | uint | The inbound buffer. |
maxReadBytes | int | The maximum bytes to read from clients. |