Skip to main content

socket_rtt

Function socket_rtt 

Source
pub fn socket_rtt<A: AsRawFd>(socket: &A) -> Option<Duration>
Expand description

Round trip time for a TCP socket. Kept for existing metric callers; log-prefix callers should prefer socket_snapshot which returns the RTT and the TCP FSM state from a single syscall.