Boost logo

Boost Users :

Subject: [Boost-users] Simple serial port demonstration with boost asio asynchronous I/O
From: Jeff Gray (jeffg_at_[hidden])
Date: 2008-10-06 21:27:17

A couple of weeks ago I posted a simple asynchronous demonstration of a
telnet client using boost asio TCP network code.

I have changed this code to turn it into a simple serial terminal
application using the serial port support in the new version of boost asio.

It required no changes at all the the read or write code. I just altered
the initialization to use a serial port instead of a socket.

Note that this is not intended to show how a fully functional
application would work. There are plenty of areas that are not handled
in this code. But it shows the idea and it's easy to build on this once
you've got it working.

Hope this helps someone else get started...

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at