Boost logo

Boost Users :

Subject: Re: [Boost-users] [Asio]Question about error_code when socket::close
From: Igor R (boost.lists_at_[hidden])
Date: 2010-05-17 12:49:35


> But before you begin doing this, it's worth ensuring that you *really*
> have a bottleneck there (which is unlikely in a network-oriented
> application).

BTW, you also can try to use a trivial custom allocator that would
eliminate some heap allocations in completion handlers (unrelated to
shared_ptr):
http://www.boost.org/doc/libs/1_42_0/doc/html/boost_asio/example/allocation/server.cpp


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