Internet Direct (Indy)
Home
PreviousUpNext
TIdStackBSDBase.SetBlocking Method

Sets the IO mode for the socket handle.

Pascal
procedure SetBlocking(
    ASocket: TIdStackSocketHandle; 
    const ABlocking: Boolean
); virtual; abstract;
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 abstract virtual procedure that specifes the interface used to set IO mode for the socket handle in ASocket. 

SetBlocking must be implemented in a descendant class to access to the ioctl() API for a specific protocol stack implementation. 

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. Convert ABlocking 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.