From 915f506f3a8fa61130f84cca6609b9f99d6dc801 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Wed, 14 Mar 2018 18:47:40 -0700 Subject: [PATCH] Use Sleep windows function passing milliseconds as parameter Fixes #271 --- examples/arpspoofing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/arpspoofing.cpp b/examples/arpspoofing.cpp index 7a7c756..0378c35 100644 --- a/examples/arpspoofing.cpp +++ b/examples/arpspoofing.cpp @@ -88,7 +88,7 @@ void do_arp_spoofing(NetworkInterface iface, sender.send(to_gw, iface); sender.send(to_victim, iface); #ifdef _WIN32 - Sleep(5); + Sleep(5000); #else sleep(5); #endif