Code Monkey home page Code Monkey logo

mio-uds's People

Contributors

alexcrichton avatar djg avatar kmkaplan avatar marioidival avatar marwes avatar nickataccups avatar nivkner avatar pfmooney avatar sorccu avatar txuritan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mio-uds's Issues

Android compile error: mismatched types

I'm at a loss on this, I've been looking into what could be causing this, both your crate and libc use c_int as the bind socket parameter.

Although libc has noticted this (link).

Sorry that I couldn't give you more info than this.

I'm using the latest version that Termux has for aarch64-linux-android (aka the cargo/rustc packages by pointless).

Error:

error[E0308]: mismatched types
  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-uds-0.6.4/src/datagram.rs:33:48
   |
33 |             try!(cvt(libc::bind(fd.fd(), addr, len)));
   |                                                ^^^ expected i32, found u32

error[E0308]: mismatched types
  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-uds-0.6.4/src/listener.rs:37:48
   |
37 |             try!(cvt(libc::bind(fd.fd(), addr, len)));
   |                                                ^^^ expected i32, found u32

error: aborting due to 2 previous errors

error: Could not compile `mio-uds`.

Socket permissions

I'm trying to create a socket that both owner and group can connect to, but isn't world accessible. It seems it's currently not possible to specify a mode for the socket (default is 0755 on my system). I think that would be a useful feature. :)

Add maintainers and transfer ownership

mio-uds continues to be used (I think correctly) as part of the crate graph for tokio-net but is currently lacking active maintainership (see #23 (comment)). I am actively actively making use of the crate (via tokio) and would be willing to take over as a maintainer for this code.

I think an argument could be made for moving the repo to the tokio-rs org which would give team members in that org the commit bit as well.

CC @carllerche @alexcrichton

SOCK_SEQPACKET support

There should be a mode of UnixStream/UnixListener on Linux where it uses SOCK_SEQPACKET instead of SOCK_STREAM.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.