Discuss this help topic in SecureBlackbox Forum


TElWebSocketClient     See also     

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

Tells the client there are data available in the socket.


    void DataAvailable();

    Sub DataAvailable()

    procedure DataAvailable;

    void DataAvailable();

    void DataAvailable()


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