Skip to content

hankbao/mio-uds

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mio-uds

A library for integrating Unix Domain Sockets with mio. Based on the standard library's support for Unix sockets, except all of the abstractions and types are nonblocking to conform with the expectations of mio.

Build Status Documentation

mio-uds is Deprecated

With the 0.7 release, mio now includes native support for Unix Domain Sockets. Consumers should switch to that functionality when updating their mio dependency to the 0.7.x series.

Usage

# Cargo.toml
[dependencies]
mio-uds = "0.6"
mio = "0.6"

The three exported types at the top level, UnixStream, UnixListener, and UnixDatagram, are thin wrappers around the libstd counterparts. They can be used in similar fashions to mio's TCP and UDP types in terms of registration and API.

License

This project is 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.

About

Unix Domain Sockets for mio

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%