Topic Path: Symbol Reference > Constants > Infinite Constant
ContentsIndexHome
PreviousUpNext
Infinite Constant

Defines the platform-specific value used for infinite timeouts.

File
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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.