Internet Direct (Indy)
Home
PreviousUpNext
TIdIdent.QueryTimeOut Property

Timeout value for an Ident query.

Pascal
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.

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.