The OnRxChar event occurs when at least one character was received and placed in the input buffer of the virtual serial port.

OnRxChar(

      LONG Count     // number of bytes

);

 

Parameters:

  • Count [out] : Contains the number of the bytes currently available in the input buffer of the virtual serial port.

Note: the Count variable shows not the number of received bytes but the number of bytes currently available for read. This is the same value that could be received via InCount property.