Skip to content

Tracking Issue for acceptfilter #121891

Open
@devnexen

Description

@devnexen

Feature gate: #![feature(acceptfilter)]

This is a tracking issue for #121881

Public API

use std::os::unix::net::UnixStream;

fn main() -> std::io::Result<()> {
  let sock = UnixStream::connect("/tmp/sock");
  sock.set_acceptfilter(&c"http");
  Ok(())
}
use std::os::unix::net::UnixDatagram;

fn main() -> std::io::Result<()> {
  let sock = UnixDatagram::unbound();
  sock.set_acceptfilter(&c"data");
  Ok(())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions