mgraine wrote:ok thanks alex, it compiled succesfully, but the Serial->TestSuite tests are all failed when i run it.
For tests to pass, you need two serial interfaces on the same machine, connected with a crossover cable.
mgraine wrote:also can i ask how can i trap the serial connection if it is not availble or unplugged?
is it through the SerialChannel or ChannelOutputStream instances?
SerialChannel will throw an appropriate exception.