Update Jun 22, 2011: Fixed a bug for compiling under visual studio 2010.
I’ve added a new article to my website. You can read it here. This article explains how to interface with serial ports from C++. Applications include communicating with an Arduino, the Fonera or any microcontroller. It presents four classes to access serial ports, starting from simple string read/write to advanced asyncronous I/O.
All the code is based on the Boost.asio library, so the code is portable across operating systems.
If you have comments, or find bugs, post them as comment to this blog post.