From 396bd80b16e9717b359b0fe1eeccd03b38054876 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Tue, 24 Jan 2017 11:02:33 -0500 Subject: [PATCH] netd: add ping client (to test raw socks) --- Applications/netd/ping.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Applications/netd/ping.c b/Applications/netd/ping.c index 4e3e0b01..c101fb0c 100644 --- a/Applications/netd/ping.c +++ b/Applications/netd/ping.c @@ -1,6 +1,8 @@ /* A Cheesey ipv4 ping client + (C) 2017, Brett M. Gordon, GPL2 under Fuzix + todo: * add timestamp to packets to measure delta-t * add time max/min/avg/sdev stats like real ping @@ -118,7 +120,7 @@ my_open( int argc, char *argv[]){ } /* fuzix raw sockets (for now) repurposes the connect() - address struct to pass it's protocol number + address struct's port no to pass it's protocol number */ addr.sin_port = 1; addr.sin_family = AF_INET; -- 2.34.1