
10 Jun
2005
10 Jun
'05
3:56 a.m.
Stefan Seefeld wrote:
Why use iostream's read if you can do that on the streambuf object directly. And, why use the concept of a 'stream' at all when dealing with datagrams ? That doesn't sound like a good fit to me.
class datagram; datagram d; iostream ios; // Fill in the datagram; ios << d; -- Pedro Lamarão