Giving up on Solaris 9

Solaris 9 is a weird OS. I need to do some programming in communicating with a modem. The code works fine in Linux. But, when I port it over to Solaris 9, there is always some intermediate of lost characters when reading the modem status. The most strange and unexplainable thing is, if I add logging statement in between the reading and processing of read buffer, there is no lost characters at all. Timing problem? I thought all these is suppose to be done in the lower OS (hardware level) for flow control? Increasing the read timeout in “select” does not fix it.

Thank goodness my main platform is Linux.

Leave a Reply