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 |
|
#15 in #io-operations
12,632 downloads per month
Used in 164 crates
(13 directly)
58KB
1.5K
SLoC
named_pipe
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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