Seasonal greetings to y'all;
When I go to DOS prompt (a.k.a. Command Prompt) and run ping like this
the reply comes back OK:
but with Indy.10's TidIcmpClient:
About 4 seconds later I get 0[zero] (TReplyStatusTypes::rsTimeOut).
What do I miss to mimic the DOS ping behaviour? TIA
When I go to DOS prompt (a.k.a. Command Prompt) and run ping like this
Code:
C:\Users\Boba> ping -4 10.76.201.171
Code:
Pinging 10.76.201.171 with 32 bytes of data
Reply from 10.76.201.171: bytes=32 time=137 TTL=105
...
Ping statistics for 10.76.201.171:
...
Code:
TidIcmpClient *pIcmpClient;
...
pIcmpClient->Host = "10.76.201.171";
pIcmpClient->RecieveTimeout = 4000;
pIcmpClient->Ping();
What do I miss to mimic the DOS ping behaviour? TIA