Topic Path: Symbol Reference > Classes > TIdStackWindows Class > TIdStackWindows Methods > SetBlocking Method
ContentsIndexHome
PreviousUpNext
TIdStackWindows.SetBlocking Method

Sets the IO mode for the socket handle.

procedure SetBlocking(
    ASocket: TIdStackSocketHandle; 
    const ABlocking: Boolean
); override;
Parameters 
Description 
ASocket 
Socket handle used to set the IO Mode.
 
ABlocking 
Indicates if blocking IO mode is enabled for the socket handle. 

SetBlocking is an overridden procedure that implements the method used to set IO mode for the socket handle in ASocket. 

ASocket is the socket handle used to set the IO mode. 

ABlocking is a boolean value that indicates if the socket handle should use non-blocking IO mode when False. ABlocking is converted to the data type required for the protocol stack implementation when calling the ioctl() API function.

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