ChuanyuXue / udp-latency

A single Python file network latency testing tool by UDP.
MIT License
31 stars 7 forks source link

quick question #4

Closed hanghoo closed 6 months ago

hanghoo commented 6 months ago

Hi @ChuanyuXue, a quick question is what is the reason we choose socket instead of scapy to implement the udp latency? Thank you very much for your answering.

ChuanyuXue commented 6 months ago

The primary reason is simplicity. I have more familiarity with the socket library 😄

My goal was a straightforward script that's easy to understand and use. No special performance/accuracy consideration here.

hanghoo commented 6 months ago

Hi @ChuanyuXue, thanks for your answering. That's very helpful.