Hello Chris,First off, thank you for the asio library. I didn't have much experience with network programming, and your library helped abstract away the OS details to more easily understand the concepts. Now that I've got the basics, I've had to dig into the heart of your windows implementation. Similar to other very general libraries, have you thought of allowing custom allocators for the OVERLAPPED derived classes (and any other allocated instances)? I understand this may not be possible while maintaining an OS agnostic interface, but it would be helpful for what I'm trying to achieve.Again, thank you for your hard work.
Hi Kevin,Yep, asio already supports custom allocation of these temporary structures.I suggest downloading the boost_asio 0.3.8 release candidate from here and having a look at the documentation under Design -> Custom Memory Allocation. You can see it in use in the 'allocation' example.
Ah yes. Should not have doubted that something so useful would be missing.After posting, I came across this example for asio 0.3.7 hereThanks and good luck with tr2.
Chris,Just found your blog. Keep up the good work. I'm working hard to get my HTTP implementation working well on ASIO.
Post a Comment