pub fn mark_lower_effort(socket: &TcpStream) -> MarkingExpand description
Mark a bulk-transfer socket the SDK holds with the Lower Effort DSCP, best effort.
Sets IP_TOS on a socket carrying IPv4 (an IPv4-mapped IPv6 socket included, since its
packets are IPv4) and IPV6_TCLASS on one carrying IPv6, to
LOWER_EFFORT_TRAFFIC_CLASS. A platform that refuses either, or a target socket2 exposes
no setter on, leaves the socket unmarked; the outcome is logged and returned, never an error,
so a caller proceeds the same whichever it is.
Only bulk transfers are marked: interactive requests and the server’s sockets stay at the default class, so marking can only make Capsule’s bulk bytes yield, never make anything of Capsule’s slower to answer a person.