
9 Jun
2005
9 Jun
'05
8:46 p.m.
Simon Richter wrote:
And, why use the concept of a 'stream' at all when dealing with datagrams ? That doesn't sound like a good fit to me.
It it a stream of packets, not an iostream. There is no real need to call it a "stream" as well, but I think it should provide operator<< and operator>> for packets.
The '>>' notation suggests an ordering of the packets, which doesn't exist. Stefan