DataArrival

This event occurs when new data arrives in a Winsock control.

Syntax

Private Sub winsock_DataArrival(bytesTotal)

Parameters

winsock
Object expression that evaluates to a Winsock control.
bytesTotal
Number of bytes in the input queue.

Remarks

This event occurs only if you retrieve all the data in one GetData call, and only if there is new data to retrieve. Use the BytesReceived property to determine how much data is available.