I want the PING package to go through the proxy program, but the program only supports forwarding packets from the TCP layer and does not support forwarding ICMP packets.
Is there any solution?
I want the PING package to go through the proxy program, but the program only supports forwarding packets from the TCP layer and does not support forwarding ICMP packets.
Is there any solution?
If you need a tool, you can use a software like psping, paping and tcping. They test time response similar as ICMP Ping but over TCP.
If you need to implement by hand, you may use SYN package and its response (SYN ACK) to measure. For C#, this thread is discussing the implementation.