Discuss this help topic in SecureBlackbox Forum

TElCustomSimpleSSLClient.CanReceive

TElCustomSimpleSSLClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This method checks if the data can be received.

Declaration

[C#]
    bool CanReceive(int Timeout);

[VB.NET]
    Function CanReceive(ByVal Timeout As Integer) As Boolean

[Pascal]
    function CanReceive(Timeout : integer) : Boolean;

[C++]
    bool CanReceive(int32_t Timeout);

[PHP]
    bool CanReceive(integer $Timeout)

[Java]
    boolean canReceive(int Timeout);

Parameters

  • Timeout - Time in milliseconds to wait. Timeout set to -1 means infinite waiting, set to 0 means no wait at all.

Return value

    Returns true if the data can be received, and false otherwise.

Description

    Use this method to check whether there's data available to be received. Set Timeout parameter to time, which the call will wait, if there's no data at the moment.

See also:     ReceiveData    

Discuss this help topic in SecureBlackbox Forum