-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
net::{TcpStream,TcpListener}::set_only_v6 are useless #33052
Copy link
Copy link
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.