Function ping::new_icmp_socket
source · pub fn new_icmp_socket<I: IpExt>() -> Result<DatagramSocket>
Expand description
Create a new ICMP socket.
pub fn new_icmp_socket<I: IpExt>() -> Result<DatagramSocket>
Create a new ICMP socket.