You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/03 08:27:14 UTC

[GitHub] janpio edited a comment on issue #70: How to detect latency or ping or can I detect connection if the device network is slow or fast?

janpio edited a comment on issue #70: How to detect latency or ping or can I detect connection if the device network is slow or fast?
URL: https://github.com/apache/cordova-plugin-network-information/issues/70#issuecomment-418040174
 
 
   My guess is that the only way to measure that is to make an actual request.
   
   Note the time, make a request to a server endpoint that also returns the time, note the time when the response comes in - use all 3 measurement to do some calc for the roundtrip time. (Alternatively connect to _any_ endpoint, do the calc with just 2 numbers)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org