3 releases

Uses old Rust 2015

0.1.2 Dec 15, 2017
0.1.1 Feb 3, 2017
0.1.0 Feb 3, 2017

#15 in #receiving

BSD-3-Clause

19KB
422 lines

libicmp

ICMP for Rust

See the docs


lib.rs:

ICMP protocol support and implementations.

This package is useful for sending and receiving packets over the Internet Control Message Protocol (ICMP). It currently offers a simple API and implementation for ping.

Installation

Add this to your Cargo.toml:

[dependencies]
libicmp = "0.1.1"

Examples

use libicmp::PingBuilder;

let p = PingBuilder::new()
    .host("127.0.0.1")
    .num_pings(5)
    .interval_secs(1)
    .timeout_secs(5)
    .debug(true)
    .build();
p.ping();

Dependencies

~2.5MB
~44K SLoC