Skip to content

net::{TcpStream,TcpListener}::set_only_v6 are useless #33052

Closed
@troplin

Description

@troplin

AFAIUI, net::TcpListener::set_only_v6 has to be called before binding a socket. However, with the current API this is not possible.

For TcpStream I'm not sure if this option is meaningful at all. And if it is, it surely has to be set before connecting.

I know the FCP for those is over, but they should still be removed IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-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