Topic Path: Symbol Reference > Classes > TIdStackBSDBase Class > TIdStackBSDBase Methods > WouldBlock Method
ContentsIndexHome
PreviousUpNext
TIdStackBSDBase.WouldBlock Method

Indicates a socket response code is a blocking response.

function WouldBlock(
    const AResult: Integer
): Boolean; virtual; abstract;
Parameters 
Description 
AResult 
Value to examine. 

Boolean - True when AResult is a blocking response code.

WouldBlock is an abstract virtual Boolean function that specifies the interface used to determine if the socket response in AResult represents the WSAEWOULDBLOCK response code. 

WouldBlock must be implemented in a descendant class to allow access to a specific protocol stack implementation.

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