Discuss this help topic in SecureBlackbox Forum

TElSocket.CanAccept

TElSocket     See also     


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


Specifies, if the socket can accept incoming connections.

Declaration

[C#/Java]
    bool CanAccept(int WaitTime);

[VB.NET]
    Function CanAccept(ByVal WaitTime As Integer) As Boolean

[Pascal]
    function CanAccept(WaitTime : integer := 0) : boolean;

[C++]
    bool CanAccept(int32_t WaitTime);

[PHP]
    bool CanAccept(integer $WaitTime)

Parameters

  • WaitTime - Time in milliseconds to wait for response. The value set to -1 means infinite waiting, set to 0 means no waiting at all.

Description

    Use this method to check whether the socket can accept the incoming connections.

See also:     Accept     CanReceive     CanSend    

Discuss this help topic in SecureBlackbox Forum