If you have any trouble with the device you are communicating with, you may want to grab a program called portmon (it's free).
You can find it a number of places, including programmersheaven.com
It runs at the same time as your software and records all the traffic. It has helped me immensely in trying to determine error sources.
-Matt Bradley
************ kudos always appreciated, but only when deserved **************************