Topic Path: Symbol Reference > Classes > TIdSocketHandles Class > TIdSocketHandles Methods > BindingByHandle Method
ContentsIndexHome
PreviousUpNext
TIdSocketHandles.BindingByHandle Method

Indicates if a socket descriptor exists in the collection.

function BindingByHandle(
    const AHandle: TIdStackSocketHandle
): TIdSocketHandle;
Parameters 
Description 
AHandle 
Socket descriptor to locate in the collection. 

TIdSocketHandle - Socket handle located in the collection.

BindingByHandle is a TIdSocketHandle function used to determine if the socket descriptor specified in AHandle exists in the socket handle collection. 

BindingByHandle searches Items to determine if the socket descriptor matches a socket handle in the collection. 

The return value for the method is Nil is AHandle cannot be located in the items for the collection.

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