CodePudding user response:
Delay this stuff is do yourself, should be platform independent, may have similar third-party toolsWhen you send a request to record the sending time, then I received the response records the receive time, this time is the time delay,
Then open several threads run, calculate the average over a period of time is the current network latency,
I literally written, it is good to look at
CodePudding user response:
Delay this stuff is do yourself, should be platform independent, may have similar third-party toolsWhen you send a request to record the sending time, then I received the response records the receive time, this time is the time delay,
Then open several threads run, calculate the average over a period of time is the current network latency,
I literally written, it is good to look at
CodePudding user response:
Direct use ping service is ok, if not need very accurate,