#pipe

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

#2 in #pipes

Download history 3974/week @ 2024-07-21 3288/week @ 2024-07-28 2939/week @ 2024-08-04 3457/week @ 2024-08-11 3487/week @ 2024-08-18 3612/week @ 2024-08-25 4255/week @ 2024-09-01 3337/week @ 2024-09-08 3197/week @ 2024-09-15 3946/week @ 2024-09-22 4768/week @ 2024-09-29 4929/week @ 2024-10-06 6123/week @ 2024-10-13 6252/week @ 2024-10-20 6928/week @ 2024-10-27 7887/week @ 2024-11-03

27,341 downloads per month
Used in 176 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