curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Time measurements using CURL - Help required

From: Daniel Stenberg <daniel_at_haxx.se>
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.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-06-07