Internet Direct (Indy)
Home
PreviousUpNext
Infinite Constant

Defines the platform-specific value used for infinite timeouts.

Pascal
Infinite = Windows.INFINITE;

INFINITE is a platform-specific constant that identifies the value to be used when an Infinite timeout is needed when working with socket descriptors or waiting for local event signals in threads. 

 

On the Linux platform, INFINITE is defined as a LongWord type with the value $FFFFFFFF. 

 

For the .Net platform, INFINITE is defined as a Cardinal type with the value $FFFFFFFF. 

 

For the WIndows platforms, INFINITE is defined as the value from the Windows.pas unit.

IdWinSock2.pas 

TIdLocalEvent

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.