Topic Path: Symbol Reference > Classes > TIdIdent Class > TIdIdent Properties > QueryTimeOut Property
ContentsIndexHome
PreviousUpNext
TIdIdent.QueryTimeOut Property

Timeout value for an Ident query.

property QueryTimeOut: Integer;

QueryTimeOut is an Integer property that indicates the number of milliseconds to wait for a response to an Ident query. The default value for QueryTimeOut is IdIdentQryTimeout, as assigned during initialization of the component. 

The value in QueryTimeOut can be altered, but it is recommended in RFC 1413 that idle timeouts for the Ident protocol be in the 60-180 second range (60000 - 180000 milliseconds). 

QueryTimeOut is used in the Query method, and when exceeded forces the query to be abandoned. On timeout, the Connection is closed and an EIdIdentQueryTimeOut exception is raised.

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