From: Dean M. B. <mik...@gm...> - 2010-01-23 08:25:23
|
On Sat, Jan 23, 2010 at 3:20 AM, Glyn Matthews <gly...@gm...> wrote: > Hi Erik, > > 2010/1/22 Nelson, Erik - 2 <eri...@ba...> >> >> Thanks for the help... It's working now, and I'm playing with it some >> more. >> >> I'm not sure if it matters, but in connection.hpp, in the connection >> constructor, there's a bit of code like >> >> try { >> socket_.set_option(tcp::no_delay(true)); // Don't delay >> writing >> } catch (system::system_error & e) { >> handler_.log(e.what()); >> } >> >> And the set_option call *always* seems to throw >> boost::asio::error::bad_descriptor. Not sure if it matters. >> This actually matters and is a bug. Thanks for reporting it, it's issue #5 on GitHub now. It would be cool if we used the Github issue tracker instead for things like these. ;) -- Dean Michael Berris cplusplus-soup.com | twitter.com/deanberris linkedin.com/in/mikhailberis | facebook.com/dean.berris | deanberris.com |