Discuss this help topic in SecureBlackbox Forum

TElWebSocketClient.DataAvailable

TElWebSocketClient     See also     


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


Tells the client there are data available in the socket.

Declaration

[C#]
    void DataAvailable();

[VB.NET]
    Sub DataAvailable()

[Pascal]
    procedure DataAvailable;

[C++]
    void DataAvailable();

[PHP]
    void DataAvailable()

[Java]
    void dataAvailable();

Description

Use this method to notify the WebSocket client that there are data in the socket that should be processed. TElWebSocketClient then fires the corresponding OnTextData or OnBinaryData event. If the application uses one of the wait methods to check the availability of the data in the socket, the right place to call the DataAvailable method is just after the call to those wait methods.

See also:     OnTextData     OnBinaryData    

Discuss this help topic in SecureBlackbox Forum