Struct icmp_socket::socket::IcmpSocket4
source · [−]pub struct IcmpSocket4 { /* private fields */ }
Expand description
An ICMPv4 socket.
Implementations
Trait Implementations
type PacketType = Icmpv4Packet
type PacketType = Icmpv4Packet
The type of packet this socket handles.
Sets the ttl for packets sent on this socket. Controls the number of hops the packet will be allowed to traverse. Read more
Binds this socket to an address.
Sends the packet to the given destination.
Receive a packet on this socket.