Modify ↓
Opened 11 years ago
Closed 11 years ago
#3064 closed Bug (No Bug)
Ping timeout is longer than set by par2
| Reported by: | RichardL | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | Cc: |
Description
For $iIx = 1 To 255
$sIP = StringFormat("%d.%d.%d.%d", 192, 168, 1, $iIx)
$Tim0 = TimerInit()
$iRet = Ping($sIP, 40)
$iTim1 = TimerDiff($Tim0)
$iErr = @error
ConsoleWrite(StringFormat("P ix=%3d tim=%4d %1d %6d\n", $iIx, $iTim1, $iErr, $iRet))
Next
The timeout seems to be 500 mS minimum, or 500 more than requested.
Attachments (0)
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
I don't know where IcmpSendEcho is, I've tried it on Windows XP and 7 it's the same.
comment:3 by , 11 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Look here and search for Minimum timeout in the document. I am closing and no bug and will not document in our help file, as this is undocumented by Microsoft.
Note:
See TracTickets
for help on using tickets.

I am not convinced this is an AutoIt3 bug but rather an issue with IcmpSendEcho used in AutoIt3. There seem to be multiple reports on this timeout parameter not working and AutoIt3 simply uses what is provide.