Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOCK_SEQPACKET support #14

Open
vi opened this issue May 8, 2018 · 3 comments
Open

SOCK_SEQPACKET support #14

vi opened this issue May 8, 2018 · 3 comments

Comments

@vi
Copy link

vi commented May 8, 2018

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

@vi
Copy link
Author

vi commented May 8, 2018

It's also on the way into std.

@rotty
Copy link

rotty commented Dec 10, 2018

Unfortunatly, the integration into std was declined due to MacOS not supporting SOCK_SEQPACKET. I'm considering assembling a PR to add SOCK_SEQPACKET support to mio-uds (along the lines of the std PR), however I'd like to know if such a PR would be welcome in mio-uds, or if it would be declined for the same reason -- @alexcrichton?

@vi
Copy link
Author

vi commented Dec 10, 2018

Just make it Linux-specific API.

It's not a question whether Rust (including async) should support SOCK_SEQPACKET or not; it should. The question is how: in this crate, in std, in separate crate, gated by Cargo feature...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants