Boost logo

Boost Users :

Subject: Re: [Boost-users] asio stability and scalability
From: Igor R (boost.lists_at_[hidden])
Date: 2009-10-19 16:07:56


We use asio in a windows-based project, which involves a lot of networking,
including tens or even hundreds of simultaneous data-streams - and it works
well.
However, as Marat said, with asynchronous design one should be very careful
about the lifetimes of the involved objects, because any flaw can cause in
various kinds of memory/stack corruption. That's why asio-based designs
usually extensively utilize shared_ptr's and shared_from_this idiom, instead
of attempts to manage objects' lifetime manually.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net