Chengyuan Ma

Results 2 comments of Chengyuan Ma

Same problem here. It seems that the problem is not limited to `icmp_packet_iter` but other packet iterators as well. The error arises in the call to `recvfrom`. MSDN says that...

I find a quick and dirty fix that works on my computer ([reference](https://stackoverflow.com/a/9174392)): ```rust #[cfg(windows)] pub fn fix_windows_error(tx: &TransportReceiver) { use winapi::shared::ws2def::{ADDRESS_FAMILY, SOCKADDR_IN, SOCKADDR, AF_INET, INADDR_ANY}; use winapi::shared::mstcpip::{SIO_RCVALL, RCVALL_ON}; use...