ComReceiveBytes

ComReceiveBytes copies received data to application.

This non-blocking function attempts to copy any received data from internal communication port buffers into an application's buffer. If no data is available when this call is made, a zero is returned in the short integer specified by the pointer DataLenP.

Note that since System Manager calls can have significant overhead, it is advisable for the application to perform some level of local buffering and not perform character-at-a-time reads from the port's internal buffers.