title: Websocket and reception of a message
body: <p>I try to make a server "messages" via websocket under boost.
  Currently, I can often send large messages or series of messages from the server.
  when I hit "send", it sends tons of data.
  The difficulty is that when the server receives a command in a websocket message like "Stop", "Pause" ... this command runs until the end of the previous message. I try to stop the execution of the previous command.</p>
  
  <p>I tried to read the buffer between sending data. but it does not work. I try to check if there is one receiving orders with async_read_some.</p>
  
  <p>I based on the example of
  <a href="http://www.codeproject.com/Articles/443660/Building-a-basic-HTML5-client-server-application" rel="nofollow">http://www.codeproject.com/Articles/443660/Building-a-basic-HTML5-client-server-application</a>
  and HTTP server boost
  <a href="http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/examples.html" rel="nofollow">http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/examples.html</a></p>
  
  <p>Do you have any idea? I reworked my code several times but I can not execute the new real-time control as it appears at the end ..</p>
  
  <p>thank you</p>