cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit d5295394a8a31fed7cba5d8fbe7eec01ffebdc1c
parent fa239855b1b3d301f1e652035467442ecd212d86
Author: cnlohr <lohr85@gmail.com>
Date:   Fri,  3 Nov 2017 19:52:12 -0400

Apparently things don't care if you have absurd packet sizes.

Diffstat:
Dcnping.exe | 0
Mping.c | 4++--
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cnping.exe b/cnping.exe Binary files differ. diff --git a/ping.c b/ping.c @@ -62,7 +62,7 @@ struct icmphdr float pingperiodseconds; int precise_ping; -#define PACKETSIZE 16384 +#define PACKETSIZE 65536 struct packet { @@ -105,7 +105,7 @@ void listener() #endif struct sockaddr_in addr; - unsigned char buf[17000]; + unsigned char buf[66000]; #ifdef WIN32 SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL); #endif