#include "Stroika/Frameworks/StroikaPreComp.h"
#include <limits>
#include <optional>
#include <random>
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/IO/Network/ConnectionlessSocket.h"
#include "Stroika/Foundation/IO/Network/InternetAddress.h"
#include "Stroika/Foundation/IO/Network/InternetProtocol/ICMP.h"
#include "Stroika/Foundation/IO/Network/InternetProtocol/IP.h"
#include "Stroika/Foundation/Time/Duration.h"
#include "Stroika/Foundation/Traversal/Range.h"
#include "Ping.inl"
Go to the source code of this file.
Classes | |
class | Stroika::Frameworks::NetworkMonitor::Ping::Pinger |
Functions | |
SampleResults | Stroika::Frameworks::NetworkMonitor::Ping::Sample (const InternetAddress &addr, const SampleOptions &sampleOptions={}, const Options &options={}) |
Send network packets to the argument internet address (govered by sample Options and optins) - and return the sampled results (e.g. averages) | |
SampleResults Stroika::Frameworks::NetworkMonitor::Ping::Sample | ( | const InternetAddress & | addr, |
const SampleOptions & | sampleOptions = {} , |
||
const Options & | options = {} |
||
) |
Send network packets to the argument internet address (govered by sample Options and optins) - and return the sampled results (e.g. averages)
'options' govern how the pinging is done.
'sampleOptions' govern how the results are statistically processed.
Sample () will summarize most exceptions in Results.