Crate surge_ping
source · [−]Structs
Client
is a type wrapped by Arc
, so you can clone
arbitrarily cheaply,
and can realize the simultaneous ping of multiple addresses when only one socket
is created.
Config is the packaging of various configurations of sockets
. If you want to make
some set_socket_opt
and other modifications, please define and implement them in Config
.
Packet structure returned by ICMPv4.
Packet structure returned by ICMPv6.
A Ping struct represents the state of one particular ping instance.
Enums
Represents the ICMP reply packet.
An error resulting from a ping option-setting or send/receive operation.