From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-25 04:07:42
Don G wrote:
> Here's what I meant:
> class stream_over_serial : public net::stream
> stream_over_serial (string comport);
> This is a net::stream impl over the named COM device. On Windows,
> this might use lineOpen.
CreateFile, more likely. I don't need TAPI to communicate with a device over
a direct serial link.
But I still don't get it. In your design, a stream is created by an address,
which is created by a network. And once I have a stream, I can get back the
address and the network. So, which address and which network create the
serial stream? Is it a special kind of stream that is network and address
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk