I have a linux version C code for ICMP ping. And I want that program to be modified adding 200 lines of code or more to convert it to TCP ping.
Or Modify ICMP ping program with adding minimum of 200 lines of code. (not necessarily tcp ping).
The current implementation of ping program uses "ICMP Protocol". Modifications are to made to the program so that it uses "TCP Protocol".
Simply TCP PING VERSION for ICMP PING VERSION of the code.
I have working version of the code in the attachment.
All libraries required by ping are in "lib" folder and "ping" folder has files related to the ping.
> login as "root"
> go to folder lib; make linux
> go to folder ping; make ping
> To run: ./ping 127.0.0.1