Stroika Library 3.0d18
 
Loading...
Searching...
No Matches
Ping.h File Reference
#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)
 

Detailed Description

Note
Code-Status: Beta

Definition in file Ping.h.

Function Documentation

◆ Sample()

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.

Definition at line 254 of file Ping.cpp.