Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TidIcmpClient.Ping emulation
#1
Seasonal greetings to y'all;
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
the reply comes back OK:

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:
...
but with Indy.10's TidIcmpClient:

Code:
TidIcmpClient *pIcmpClient;
...
pIcmpClient->Host = "10.76.201.171";
pIcmpClient->RecieveTimeout = 4000;
pIcmpClient->Ping();
About 4 seconds later I get 0[zero] (TReplyStatusTypes::rsTimeOut).
What do I miss to mimic the DOS ping behaviour? TIA
Reply


Messages In This Thread
TidIcmpClient.Ping emulation - by Boba TC - 10-30-2023, 03:23 AM
RE: TidIcmpClient.Ping emulation - by fearcry - 10-30-2023, 03:15 PM
RE: TidIcmpClient.Ping emulation - by rlebeau - 10-30-2023, 05:26 PM
RE: TidIcmpClient.Ping emulation - by Boba TC - 10-31-2023, 05:08 AM
RE: TidIcmpClient.Ping emulation - by rlebeau - 10-31-2023, 08:04 PM
RE: TidIcmpClient.Ping emulation - by fearcry - 11-03-2023, 03:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)