Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketHandles.BindingByHandle Method

Indicates if a socket descriptor exists in the collection.

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

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.