Skip to content

Non-blocking on macOS / iOS #861

Closed
Closed
@kristate

Description

@kristate

Thanks to everyone for your hard work.

nix::sys::socket::socket provides a fourth parameter that ends-up calling fcntl()and friends but seemingly does not support macos.

What is the best way to open a non-blocking socket on macos/ios using nix?

ref: https://github.com/nix-rust/nix/blob/v0.10.0/src/sys/socket/mod.rs#L684-L718

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions