join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::PingAnswer Struct Reference

answer to an echo request. More...

#include <ping.hpp>

Collaboration diagram for join::PingAnswer:

Public Attributes

IpAddress from
 address that answered.
 
std::chrono::microseconds rtt {0}
 round trip time.
 
int ttl = 0
 time to live of the answer.
 
int size = 0
 ICMP message size of the answer.
 
uint32_t mtu = 0
 MTU reported by the answer, zero if none was reported.
 
bool expired = false
 set if a time exceeded message was received.
 
std::string error
 human readable form of the answer.
 
std::error_code code
 answer error code.
 

Detailed Description

answer to an echo request.

Member Data Documentation

◆ code

std::error_code join::PingAnswer::code

answer error code.

◆ error

std::string join::PingAnswer::error

human readable form of the answer.

◆ expired

bool join::PingAnswer::expired = false

set if a time exceeded message was received.

◆ from

IpAddress join::PingAnswer::from

address that answered.

◆ mtu

uint32_t join::PingAnswer::mtu = 0

MTU reported by the answer, zero if none was reported.

◆ rtt

std::chrono::microseconds join::PingAnswer::rtt {0}

round trip time.

◆ size

int join::PingAnswer::size = 0

ICMP message size of the answer.

◆ ttl

int join::PingAnswer::ttl = 0

time to live of the answer.


The documentation for this struct was generated from the following file: