Re: [asio-users] host_resolver and demuxer::work
Brought to you by:
chris_kohlhoff
From: Arvid N. <c9...@cs...> - 2006-01-17 20:33:25
|
On Jan 17, 2006, at 13:29, Christopher Kohlhoff wrote: > You may notice quite a bit has changed when you do try it - I'm > in the middle of implementing some of the changes suggested in > the boost review. Here's a quick guide to some things you may need > to do to your code: > > - Replace demuxer with io_service > > - Replace stream_socket with ipv4::tcp::socket > > - Replace socket_acceptor with ipv4::tcp::acceptor > > - Replace datagram_socket with ipv4::udp::socket Thanks! I'm using cvs head now. I didn't notice any difference until I found out that I was forgetting to call reset() on the demuxer (io_service), maybe there could be an assert for that? So, anyway, sorry for bothering the list. -- Arvid Norberg |