curl / Mailing Lists / curl-library / Single Mail


Re: Time measurements using CURL - Help required

From: Daniel Stenberg <>
Date: Wed, 7 Jun 2017 11:32:20 +0200 (CEST)

On Tue, 6 Jun 2017, s S via curl-library wrote:

> 3. Network time - The round trip time - for the network in between client
> and server.

> I am not sure how to find the "Network time". The option of using half of
> time_connect can give an approx value of network time in most of the
> cases.This may not give the accurate value in case of retransmit during SYN
> or SYN/ACK.

Right, that is probably the time data libcurl provides that is the closest to
what you want. libcurl doesn't do any other more "pure" RTT calculations.

Received on 2017-06-07