OnRead Event  
 

The OnRead event is generated when data is available to be read.

Syntax

Sub object_OnRead ([Index As Integer] )

Remarks

The OnRead event is generated for non-blocking sockets when data is available to be read from the server. Use the Read method to read the data. This event is only triggered when the Blocking property is set to False.

See Also

IsReadable Property, Read Method, Write Method, OnWrite Event