Finally (and hopefuly…) fix all corrupted data sent with async_write.
Since doing more than one simultaneous async_write on one single socket is NOT safe, we use a deque<Command*> to keep the list of all the command to send, and we send them properly one by one.
Showing
Please register or sign in to comment