Hacker News new | ask | show | jobs
by cylix 3141 days ago
Wow, thanks a lot for your feedback, I really do appreciate a lot!

for sync/async, that's a good point. I was not sure about how to design it at the beginning and went for simplicity, but having a consistent behavior makes sense. Probably having a default connect that is async as the read/write operations, as well as another sync_connect method would make the library more consistent with the choice of both options.

I have for plan to add more documentation concerning the io service. There is one thread for the event loop, and then IO_SERVICE_NB_WORKERS threads working in a thread pool to process the read and write events polled from the event loop.

Good point for the read buffer, will add the option to specify one

Good point too for the get_clients()!

Thanks again, will have some work to implement these changes, but that's worth it :)