dev-bio/ekko

Unexpected response when targeting localhost

Closed this issue · 2 comments

use ekko::Ekko;

fn main() {
    let mut e = Ekko::with_target([127, 0, 0, 1]).unwrap();
    println!("{:?}", e.send(1).unwrap());
}
Unexpected((EkkoData { timepoint: Instant { tv_sec: 101850, tv_nsec: 776870355 }, elapsed: 62.953µs, address: Some(127.0.0.1), identifier: 56444, sequence: 0, hops: 1 }, (8, 0)))

Looks like it is receiving its own request packet. Perhaps those could be filtered?

Thank you! There will be a version bump over the weekend with a fix.

Solved in new version, closing issue.