|
Boost : |
From: Bardur Arantsson (spam_at_[hidden])
Date: 2005-12-15 16:20:44
Arkadiy Vertleyb wrote:
> Guys,
>
> This general discussion about which approach to networking is superior is
> very interesting (and useful for me personally), but I think we moved off
> topic.
>
> I think Chris (the author of asio) agreed that both approaches are valid,
> and claimed he gives both of them appropriate attention.
>
> So now, since I pointed to what I believe is a problem with the synchronous
> interface in asio (socket dependency upon the demuxer), doesn't the critique
> of synchronous approach sounds a little bit like:
>
> "It is inferior anyway, so it's a goot thing that it's not clean" ?
>
> Because nobody yet tried to convince me that socket dependency upon demuxer
> (even if for synchronous IO only) is a good thing.
>
Heh, I actually agree with you that it seems a bit ugly/strange. I
wouldn't be using the synchronous part anyway, so I don't really care
all that much, though. :)
-- Bardur Arantsson <bardurREMOVE_at_[hidden]> <bardurREMOVE_at_[hidden]> - It's just like the story of the grasshopper and the octopus. All year long, the grasshopper kept burying acorns for the winter, while the octopus mooched off his girlfriend and watched TV. But then the winter came, and the grasshopper died, and the octopus ate all his acorns. And also he got a racecar. Is any of this getting through to you? Fry, 'Futurama'
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk