Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 362 Bytes

File metadata and controls

21 lines (14 loc) · 362 Bytes

Measure Latency Using TCP

In Python, we can use tcp-latency module to measure Latency using TCP.

Example

>>> from tcp_latency import measure_latency
>>> measure_latency(host='google.com')
[103.44290733337402]

Installation

pip install tcp-latency

Reference(s)