You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nikolay Volf 8527eceb04
Update to stable branch
5 years ago
src Add `handle` argument to named pipe creation-related methods. 5 years ago
.gitignore initial 6 years ago
.travis.yml doc test and travis 6 years ago
Cargo.toml Update to stable branch 5 years ago
LICENSE-APACHE license files 6 years ago
LICENSE-MIT license files 6 years ago
README.md Update code in README 5 years ago
appveyor.yml add appveyor 5 years ago

README.md

parity-tokio-ipc

Build Status

This crate abstracts interprocess transport for UNIX/Windows. On UNIX it utilizes unix sockets (tokio_uds crate) and named pipe on windows (experimental tokio-named-pipes crate).

Endpoint is transport-agnostic interface for incoming connections:

  let endpoint = Endpoint::new(endpoint_addr, handle).unwrap();
  endpoint.incoming().for_each(|_| println!("Connection received!"));

And IpcStream is transport-agnostic io:

  let endpoint = Endpoint::new(endpoint_addr, handle).unwrap();
  endpoint.incoming().for_each(|(ipc_stream: IpcStream, _)| io::write_all(ipc_stream, b"Hello!"));

License

parity-tokio-ipc is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.