Internet Direct (Indy)
Home
PreviousUpNext
TIdStackWindows.SetBlocking Method

Sets the IO mode for the socket handle.

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

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.