According to the RFC 793 (TCP) the timeout factor in the TCP ping can be adjusted with the help of ‘timeout’ parameter with OPEN and SEND calls.
The format of these calls are as follows.
OPEN (local port, foreign socket, active/passive [, timeout] [, precedence] [, security/compartment] [, options]) -> local connection name
SEND (local connection name, buffer address, byte
count, PUSH flag, URGENT flag [, timeout])
I want to know how can I use it in my application.
I am preparing a utility which will dows the TCP ping.
If someone can provode any sample code... It will be heartly welcomed.