PE> I have an application that writes a byte-at-a-time to the comm
PE> port. This works fine under DOS, but under OS/2 it requires an
PE> OS call, which is not fine at all!!! What is the simplest way
PE> to overcome this problem
MK> Simply put, write more than one byte at a time. There are a number of
MK> ways to accomplish that, including emulating standard C stream calls and
MK> behaviors, and an abundance of freely available source.
Can you elaborate on that?
If the application calls txch(), how can I implement txch() so
that if there's a lot of data to transmit, it will bundle it up,
but if there's only a small amount of data, maybe just the one
byte, it will send it straight away? I want to implement this
behaviour from the comms package side, not the application, as
the whole point is to be able to port DOS programs to OS/2
easily without requiring the user to rewrite their application.
Thanks + bye. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|