osociety / network_tools

Networking Tools library which can help you discover open ports, devices on subnet and many other things.
https://pub.dev/packages/network_tools
BSD 3-Clause "New" or "Revised" License
45 stars 13 forks source link

Saving the response time from each device #9

Closed guyluz11 closed 2 years ago

guyluz11 commented 2 years ago

We can easily save the response time of each device whenever we get the response.

This could be useful for knowing if there is a problem with the device like overload (it is slowing down) or if it has a weak WiFi signal.

git-elliot commented 2 years ago

I guess I should add the whole object of PingData in the ActiveHost class.

git-elliot commented 2 years ago

I have added the PingData object to ActiveHost class. User can retrieve time using pingData.response.time. I hope that fulfil the need of response time.