#pipe #named #io-operations #io-write #windows

named_pipe

Wrapper for overlapped (asyncronous) IO of Windows's named pipes

5 unstable releases

0.4.1 Apr 6, 2019
0.4.0 Jan 3, 2019
0.3.0 Mar 16, 2018
0.2.4 Mar 29, 2017
0.1.2 Aug 30, 2015

#15 in #io-operations

Download history 3099/week @ 2023-12-15 2805/week @ 2023-12-22 1988/week @ 2023-12-29 2750/week @ 2024-01-05 2532/week @ 2024-01-12 3264/week @ 2024-01-19 2812/week @ 2024-01-26 2421/week @ 2024-02-02 2888/week @ 2024-02-09 3216/week @ 2024-02-16 2599/week @ 2024-02-23 2772/week @ 2024-03-01 3078/week @ 2024-03-08 3033/week @ 2024-03-15 3507/week @ 2024-03-22 2584/week @ 2024-03-29

12,632 downloads per month
Used in 164 crates (13 directly)

MIT/Apache

58KB
1.5K SLoC

named_pipe

Build status

Named-Pipe is a rust wrapper for overlapped (asyncronous) IO of Windows's named pipes.

Install

Use cargo package.

Documentation

Hosted on github pages.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Named-Pipe is a wrapper for overlapped (asyncronous) IO of Windows's named pipes.

Description

You can use wait or wait_all to select(2)-like wait for multiple pending IO operations (which is read/write from/to PipeServer/PipeClient or waiting for new client).

Or you can use ConnectingServer::wait or io::Read and io::Write implementaions for PipeServer and PipeClient for syncronous communication.

For better understanding please refer to [Named Pipes documentation on MSDN] (https://www.google.com/search?q=msdn+named+pipes&ie=utf-8&oe=utf-8).

Usage

To create new pipe instance use PipeOptions structure.

To connect to a pipe server use PipeClient structure.

Dependencies

~225KB