
25 Apr
2005
25 Apr
'05
9:07 a.m.
Don G wrote:
Here's what I meant:
class stream_over_serial : public net::stream { public: 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 independent?