Topic Path: Symbol Reference > Classes > TIdStackLinux Class > TIdStackLinux Methods > SetBlocking Method
ContentsIndexHome
PreviousUpNext
TIdStackLinux.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 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.

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