Opened 8 years ago

Closed 8 years ago

#3064 closed Bug (No Bug)

Ping timeout is longer than set by par2

Reported by: RichardL Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


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))

The timeout seems to be 500 mS minimum, or 500 more than requested.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Jos

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.

comment:2 Changed 8 years ago by RichardL

I don't know where IcmpSendEcho is, I've tried it on Windows XP and 7 it's the same.

comment:3 Changed 8 years ago by guinness

  • Resolution set to No Bug
  • Status changed from new to 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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.